Fixed MSVC warning

svn-id: r31768
This commit is contained in:
Filippos Karapetis 2008-04-29 14:04:52 +00:00
parent e588f9274e
commit 4893633ff5

View File

@ -559,7 +559,7 @@ void KyraEngine_v3::loadDlgHeader(int &vocHighBase, int &vocHighIndex, int &inde
void KyraEngine_v3::setDlgIndex(uint16 index) {
debugC(9, kDebugLevelMain, "KyraEngine_v3::setDlgIndex(%d)", index);
if (_mainCharacter.dlgIndex != index) {
Common::set_to(_newSceneDlgState, _newSceneDlgState+ARRAYSIZE(_newSceneDlgState), false);
Common::set_to(_newSceneDlgState, _newSceneDlgState+ARRAYSIZE(_newSceneDlgState), 0);
memset(_conversationState, -1, sizeof(_conversationState));
_chatAltFlag = false;
_mainCharacter.dlgIndex = index;