aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/acci2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/acci2.cpp')
-rw-r--r--engines/avalanche/acci2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/acci2.cpp b/engines/avalanche/acci2.cpp
index 55f1e13fcd..370ba87dab 100644
--- a/engines/avalanche/acci2.cpp
+++ b/engines/avalanche/acci2.cpp
@@ -1277,7 +1277,7 @@ void Acci::personSpeaks() {
bool found = false; // The _person we're looking for's code is in _person.
- for (byte i = 0; i < _vm->_animation->kSpriteNumbMax; i++) {
+ for (int16 i = 0; i < _vm->_animation->kSpriteNumbMax; i++) {
if (_vm->_animation->tr[i].quick && ((_vm->_animation->tr[i]._stat.accinum + 149) == _person)) {
_vm->_scrolls->displayText(Common::String(_vm->_scrolls->kControlRegister) + byte(i + 49) + _vm->_scrolls->kControlToBuffer);
found = true;
@@ -1568,7 +1568,7 @@ void Acci::doThat() {
i = 3;
else
i = 0;
- if (_vm->_animation->tr[0].whichsprite != i) {
+ if (_vm->_animation->tr[0]._id != i) {
int16 x = _vm->_animation->tr[0]._x;
int16 y = _vm->_animation->tr[0]._y;
_vm->_animation->tr[0].done();