aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/nebular_scenes2.cpp
diff options
context:
space:
mode:
authorStrangerke2014-03-29 08:54:25 +0100
committerStrangerke2014-03-29 08:54:25 +0100
commite8de00f8770ab43259176400a9245006bc3b327a (patch)
tree7197a1a926742a9d6c68574eda2c0ee52e7af3fe /engines/mads/nebular/nebular_scenes2.cpp
parentf983add480db83a47ccdf2a860d5c9c1fbc664a2 (diff)
downloadscummvm-rg350-e8de00f8770ab43259176400a9245006bc3b327a.tar.gz
scummvm-rg350-e8de00f8770ab43259176400a9245006bc3b327a.tar.bz2
scummvm-rg350-e8de00f8770ab43259176400a9245006bc3b327a.zip
MADS: Some more renaming in scene 202
Diffstat (limited to 'engines/mads/nebular/nebular_scenes2.cpp')
-rw-r--r--engines/mads/nebular/nebular_scenes2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp
index 2f81b780fe..ed43275451 100644
--- a/engines/mads/nebular/nebular_scenes2.cpp
+++ b/engines/mads/nebular/nebular_scenes2.cpp
@@ -580,7 +580,7 @@ void Scene202::step() {
}
}
- if ((_scene->_activeAnimation->getCurrentFrame() == 160) && (_globals._v84260 != _scene->_activeAnimation->getCurrentFrame())) {
+ if ((_scene->_activeAnimation->getCurrentFrame() == 160) && (_meteoFrame != _scene->_activeAnimation->getCurrentFrame())) {
Common::Point msgPos;
int msgFlag;
if (!_ladderTopFl) {
@@ -599,11 +599,11 @@ void Scene202::step() {
_toTeleportFl = true;
}
- if (_scene->_activeAnimation->getCurrentFrame() == _globals._v84260) {
+ if (_scene->_activeAnimation->getCurrentFrame() == _meteoFrame) {
return;
}
- _globals._v84260 = _scene->_activeAnimation->getCurrentFrame();
+ _meteoFrame = _scene->_activeAnimation->getCurrentFrame();
int randVal = _vm->getRandomNumber(1, 1000);
int frameStep = -1;
@@ -649,7 +649,7 @@ void Scene202::step() {
int nextFrame = 1 + _scene->_activeAnimation->getCurrentFrame() - frameStep;
if (nextFrame) {
_scene->_activeAnimation->setCurrentFrame(nextFrame);
- _globals._v84260 = nextFrame;
+ _meteoFrame = nextFrame;
}
}