mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-13 21:20:58 +00:00
AVALANCHE: Fix iteration in Dialogs::talkTo().
This commit is contained in:
parent
1f943c0362
commit
f24267874e
@ -1073,7 +1073,7 @@ void Dialogs::talkTo(byte whom) {
|
||||
whom -= 149;
|
||||
|
||||
bool noMatches = true;
|
||||
for (int i = 0; i <= _vm->_animation->kSpriteNumbMax; i++) {
|
||||
for (int i = 0; i < _vm->_animation->kSpriteNumbMax; i++) {
|
||||
if (_vm->_animation->_sprites[i]->_acciNum == whom) {
|
||||
Common::String tmpStr = Common::String::format("%c%c%c", kControlRegister, i + 49, kControlToBuffer);
|
||||
displayText(tmpStr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user