aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/special.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-06 17:24:25 +0100
committerWillem Jan Palenstijn2015-12-23 21:33:51 +0100
commit438e7a24f5f362c383269cca41ced901a98f284e (patch)
tree6ac7e5747cf0ceb0788b48e6a692eef639a5b5cd /engines/lab/special.cpp
parentf48cf343c2761b7918924cc4af923f9503de102c (diff)
downloadscummvm-rg350-438e7a24f5f362c383269cca41ced901a98f284e.tar.gz
scummvm-rg350-438e7a24f5f362c383269cca41ced901a98f284e.tar.bz2
scummvm-rg350-438e7a24f5f362c383269cca41ced901a98f284e.zip
LAB: Get rid of some global variables
Diffstat (limited to 'engines/lab/special.cpp')
-rw-r--r--engines/lab/special.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp
index 7c7dcb1477..01b114fede 100644
--- a/engines/lab/special.cpp
+++ b/engines/lab/special.cpp
@@ -63,7 +63,6 @@ Image *MonButton;
extern uint16 *FadePalette;
extern BitMap *DispBitMap, *DrawBitMap;
-extern uint16 Direction;
#define INCL(BITSET,BIT) ((BITSET) |= (BIT))
#define SETBIT(BITSET,BITNUM) INCL(BITSET, (1 << (BITNUM)))
@@ -431,14 +430,14 @@ bool LabEngine::saveRestoreGame() {
desc = dialog->createDefaultSaveDescription(slot);
}
- isOK = saveGame(Direction, _inventory[QUARTERNUM].Many, slot, desc);
+ isOK = saveGame(_direction, _inventory[QUARTERNUM].Many, slot, desc);
}
} else {
// Restore
GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Restore game:"), _("Restore"), false);
int slot = dialog->runModalWithCurrentTarget();
if (slot >= 0) {
- isOK = loadGame(&Direction, &(_inventory[QUARTERNUM].Many), slot);
+ isOK = loadGame(&_direction, &(_inventory[QUARTERNUM].Many), slot);
if (isOK)
_music->resetMusic();
}