aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/avalot.cpp
diff options
context:
space:
mode:
authorStrangerke2013-09-22 17:45:48 +0200
committerStrangerke2013-09-22 17:45:48 +0200
commit863709ca576652767af00e9dcb84dfaab11e1a9e (patch)
tree77f41b1fba3f9d5df896651d1a88020a0bccc7c6 /engines/avalanche/avalot.cpp
parent302e74cac1fe18404d59d84135fa6debfec239cb (diff)
downloadscummvm-rg350-863709ca576652767af00e9dcb84dfaab11e1a9e.tar.gz
scummvm-rg350-863709ca576652767af00e9dcb84dfaab11e1a9e.tar.bz2
scummvm-rg350-863709ca576652767af00e9dcb84dfaab11e1a9e.zip
AVALANCHE: Move some variables
Diffstat (limited to 'engines/avalanche/avalot.cpp')
-rw-r--r--engines/avalanche/avalot.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index 3979707a5b..86bd7fef1b 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -1594,12 +1594,12 @@ void Avalot::resetVariables() {
_room = kRoomNowhere;
_vm->_parser->_wearing = 0;
_vm->_parser->_sworeNum = 0;
- _saveNum = 0;
+ _vm->_saveNum = 0;
for (int i = 0; i < 100; i++)
_roomCount[i] = 0;
- _alcoholLevel = 0;
- _playedNim = 0;
+ _vm->_parser->_alcoholLevel = 0;
+ _vm->_parser->_playedNim = 0;
_wonNim = false;
_wineState = 0;
_cwytalotGone = false;
@@ -1607,7 +1607,7 @@ void Avalot::resetVariables() {
_aylesIsAwake = false;
_drawbridgeOpen = 0;
_avariciusTalk = 0;
- _boughtOnion = false;
+ _vm->_parser->_boughtOnion = false;
_rottenOnion = false;
_onionInVinegar = false;
_givenToSpludwick = 0;