DREAMWEB: Fix warnings

This commit is contained in:
Filippos Karapetis 2011-12-08 20:47:55 +02:00
parent fcb2060445
commit e731d9b813
2 changed files with 3 additions and 4 deletions

View File

@ -714,11 +714,10 @@ void DreamGenContext::introMonks1(ReelRoutine &routine) {
intro2Text();
bx = pop();
es = pop();
routine.counter = -20;
routine.counter = (uint8)-20;
}
}
intromonk1fin:
showGameReel(&routine);
routine.mapY = data.byte(kMapy);
}

View File

@ -3852,8 +3852,8 @@ void DreamGenContext::watchReel() {
++data.word(kReeltohold);
}
if (data.word(kReeltohold) == data.word(kEndofholdreel)) {
data.word(kReeltohold) = -1;
data.byte(kWatchmode) = -1;
data.word(kReeltohold) = 0xFFFF;
data.byte(kWatchmode) = 0xFF;
data.byte(kDestination) = data.byte(kDestafterhold);
data.byte(kFinaldest) = data.byte(kDestafterhold);
autoSetWalk();