aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/nebular_scenes1.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2014-05-08 10:47:15 +0300
committerFilippos Karapetis2014-05-08 10:47:15 +0300
commit2502bd89966f8b6398be4fc0428aaba1831ad530 (patch)
tree2a08b92fa7e271182aa5e029cd6ee1ac1ccd5495 /engines/mads/nebular/nebular_scenes1.cpp
parent4d98dafc5c777501e55d791a80cfcf01b4e1281d (diff)
downloadscummvm-rg350-2502bd89966f8b6398be4fc0428aaba1831ad530.tar.gz
scummvm-rg350-2502bd89966f8b6398be4fc0428aaba1831ad530.tar.bz2
scummvm-rg350-2502bd89966f8b6398be4fc0428aaba1831ad530.zip
MADS: Use friendly names in globals
Diffstat (limited to 'engines/mads/nebular/nebular_scenes1.cpp')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index 8dca4e9c6b..ecc80c8ce3 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -191,7 +191,7 @@ void Scene101::enter() {
_game.loadQuoteSet(0x31, 0x32, 0x39, 0x36, 0x37, 0x38, 0);
- if (_globals[10]) {
+ if (_globals[kNeedToStandUp]) {
_scene->loadAnimation(Resources::formatName(101, 'S', -1, EXT_AA, ""), 71);
_game._player._visible = false;
_game._player._stepEnabled = false;
@@ -222,7 +222,7 @@ void Scene101::step() {
break;
case 71:
- _globals[10] = false;
+ _globals[kNeedToStandUp] = false;
_game._player._visible = true;
_game._player._stepEnabled = true;
_game._player._priorTimer = _scene->_frameStartTime - _game._player._ticksAmount;