comparison Events.cpp @ 747:585490c29945

House dialogue ids appended
author Nomad
date Fri, 22 Mar 2013 21:50:41 +0200
parents 59713bb36033
children cf2fbac6edc9 b1b991f67d40
comparison
equal deleted inserted replaced
746:852ec78d9548 747:585490c29945
1351 if ( pCurrentScreen == SCREEN_HOUSE ) 1351 if ( pCurrentScreen == SCREEN_HOUSE )
1352 { 1352 {
1353 if ( uGameState == 2 ) 1353 if ( uGameState == 2 )
1354 { 1354 {
1355 pAudioPlayer->StopChannels(-1, -1); 1355 pAudioPlayer->StopChannels(-1, -1);
1356 dialog_menu_id = 0; 1356 dialog_menu_id = HOUSE_DIALOGUE_NULL;
1357 while ( sub_4BD8B5() ) 1357 while ( sub_4BD8B5() )
1358 ; 1358 ;
1359 pVideoPlayer->Unload(); 1359 pVideoPlayer->Unload();
1360 window_SpeakInHouse->Release(); 1360 window_SpeakInHouse->Release();
1361 window_SpeakInHouse = 0; 1361 window_SpeakInHouse = 0;
1363 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; 1363 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0;
1364 pCurrentScreen = SCREEN_GAME; 1364 pCurrentScreen = SCREEN_GAME;
1365 viewparams->bRedrawGameUI = 1; 1365 viewparams->bRedrawGameUI = 1;
1366 pDialogueNPCCount = 0; 1366 pDialogueNPCCount = 0;
1367 pDialogueWindow->Release(); 1367 pDialogueWindow->Release();
1368 dialog_menu_id = 0; 1368 dialog_menu_id = HOUSE_DIALOGUE_NULL;
1369 pDialogueWindow = 0; 1369 pDialogueWindow = 0;
1370 pIcons_LOD->_40F9C5(); 1370 pIcons_LOD->_40F9C5();
1371 } 1371 }
1372 goto LABEL_302; 1372 goto LABEL_302;
1373 } 1373 }