aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2014-02-07 15:25:05 +0100
committerJohannes Schickel2014-02-07 15:25:05 +0100
commit08738ac697309bca598d0b1b79576afc47013774 (patch)
tree1ddbdaa4b5def60ac4b53c571f288d00112956e8
parent9b8e6f54fca6e88557ad0815fd71f12fd409cd30 (diff)
downloadscummvm-rg350-08738ac697309bca598d0b1b79576afc47013774.tar.gz
scummvm-rg350-08738ac697309bca598d0b1b79576afc47013774.tar.bz2
scummvm-rg350-08738ac697309bca598d0b1b79576afc47013774.zip
KYRA: Fix monster idle animation in EoB 1+2. (bug #6523)
The bug mentioned is called "EOB1: Monster idle animation broken".
-rw-r--r--engines/kyra/timer_eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/timer_eob.cpp b/engines/kyra/timer_eob.cpp
index f7a4e23006..95eb4f3080 100644
--- a/engines/kyra/timer_eob.cpp
+++ b/engines/kyra/timer_eob.cpp
@@ -347,7 +347,7 @@ void EoBCoreEngine::timerUpdateFoodStatus(int timerNum) {
}
void EoBCoreEngine::timerUpdateMonsterIdleAnim(int timerNum) {
- for (int i = 0; i < 18; i++) {
+ for (int i = 0; i < 30; i++) {
EoBMonsterInPlay *m = &_monsters[i];
if (m->mode == 7 || m->mode == 10 || (m->flags & 0x20) || (rollDice(1, 2, 0) != 1))
continue;