diff options
author | Strangerke | 2013-09-15 18:16:46 +0200 |
---|---|---|
committer | Strangerke | 2013-09-15 18:16:46 +0200 |
commit | 18a992856ed50cac71233166aa25d239c5a45c27 (patch) | |
tree | b9a574d67d626a80de24abc8404ff42c2ba8f9d6 /engines/avalanche/gyro.cpp | |
parent | 982e8c652383c18cf5ef801b8f185cb1ae875f10 (diff) | |
download | scummvm-rg350-18a992856ed50cac71233166aa25d239c5a45c27.tar.gz scummvm-rg350-18a992856ed50cac71233166aa25d239c5a45c27.tar.bz2 scummvm-rg350-18a992856ed50cac71233166aa25d239c5a45c27.zip |
AVALANCHE: Get rid of some more magic values
Diffstat (limited to 'engines/avalanche/gyro.cpp')
-rw-r--r-- | engines/avalanche/gyro.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/avalanche/gyro.cpp b/engines/avalanche/gyro.cpp index 0b50b2d0bd..7866100e38 100644 --- a/engines/avalanche/gyro.cpp +++ b/engines/avalanche/gyro.cpp @@ -234,7 +234,7 @@ void Gyro::resetVariables() { _dnascore = 0; _money = 0; - _room = 0; + _room = kRoomNowhere; _wearing = 0; _sworeNum = 0; _saveNum = 0; @@ -343,10 +343,10 @@ void Gyro::newGame() { avvy->appear(300, 117, Animation::kDirRight); // Needed to initialize Avalot. //for (gd = 0; gd <= 30; gd++) for (gm = 0; gm <= 1; gm++) also[gd][gm] = nil; // fillchar(previous^,sizeof(previous^),#0); { blank out array } - _him = 254; - _her = 254; - _it = 254; - _lastPerson = 254; // = Pardon? + _him = Acci::kPardon; + _her = Acci::kPardon; + _it = Acci::kPardon; + _lastPerson = Acci::kPardon; // = Pardon? _passwordNum = _vm->_rnd->getRandomNumber(30) + 1; //Random(30) + 1; _userMovesAvvy = false; _doingSpriteRun = false; |