aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/cycle.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-01-31 19:00:32 +0100
committerMartin Kiewitz2016-01-31 19:00:32 +0100
commit9acbe6f3f42a35becf3dcff04d758b3286c05c7e (patch)
tree894d8479e099bba53cee0e31ff8502364eff5628 /engines/agi/cycle.cpp
parent4bc01ab7d585f6be9d25a96ce9544b95f459d7e6 (diff)
downloadscummvm-rg350-9acbe6f3f42a35becf3dcff04d758b3286c05c7e.tar.gz
scummvm-rg350-9acbe6f3f42a35becf3dcff04d758b3286c05c7e.tar.bz2
scummvm-rg350-9acbe6f3f42a35becf3dcff04d758b3286c05c7e.zip
AGI: adjust getFlag(), setVar() and getVar()
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r--engines/agi/cycle.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index e58d018b1b..85a465cb02 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -128,7 +128,8 @@ void AgiEngine::resetControllers() {
void AgiEngine::interpretCycle() {
ScreenObjEntry *screenObjEgo = &_game.screenObjTable[SCREENOBJECTS_EGO_ENTRY];
- int oldSound, oldScore;
+ bool oldSound;
+ byte oldScore;
if (!_game.playerControl)
setVar(VM_VAR_EGO_DIRECTION, screenObjEgo->direction);