Mercurial > mm7
diff UI/UIShops.cpp @ 2182:e1e4a8a20b5f
_46А6АС_GetActorsInViewport
author | Ritor1 |
---|---|
date | Thu, 23 Jan 2014 17:31:12 +0600 |
parents | a869b0376b48 |
children | e9625ad08541 |
line wrap: on
line diff
--- a/UI/UIShops.cpp Thu Jan 23 00:18:05 2014 +0600 +++ b/UI/UIShops.cpp Thu Jan 23 17:31:12 2014 +0600 @@ -1826,7 +1826,7 @@ return; } PlayHouseSound((unsigned int)window_SpeakInHouse->ptr_1C, (HouseSoundID)(dword_F8B1E4 + 3)); - if ( !dword_F8B1E4 && !qword_A750D8 ) + if ( !dword_F8B1E4 && !_A750D8_player_speech_timer ) { v5 = 0; for ( uint i = 1; i <= 4; ++i ) @@ -1836,7 +1836,7 @@ } if ( v5 ) { - qword_A750D8 = 256i64; + _A750D8_player_speech_timer = 256i64; PlayerSpeechID = SPEECH_80; uSpeakingCharacter = v7[rand() % v5]; return; @@ -1845,7 +1845,7 @@ } else { - if ( !qword_A750D8 ) + if ( !_A750D8_player_speech_timer ) { v2 = 0; for ( uint i = 1; i <= 4; ++i ) @@ -1855,7 +1855,7 @@ } if ( v2 ) { - qword_A750D8 = 256i64; + _A750D8_player_speech_timer = 256i64; PlayerSpeechID = SPEECH_80; uSpeakingCharacter = v7[rand() % v2]; return;