diff options
author | Strangerke | 2012-02-15 19:44:56 +0100 |
---|---|---|
committer | Strangerke | 2012-02-15 23:54:38 +0100 |
commit | ffd5326ca10fd7f33e5099ccb24075e06248a721 (patch) | |
tree | 7fc95e893069d1ea41f15aa86d9a369952fe5c71 | |
parent | 7ae7e8073972dfbfc5d450b1a2b43134f3c64d27 (diff) | |
download | scummvm-rg350-ffd5326ca10fd7f33e5099ccb24075e06248a721.tar.gz scummvm-rg350-ffd5326ca10fd7f33e5099ccb24075e06248a721.tar.bz2 scummvm-rg350-ffd5326ca10fd7f33e5099ccb24075e06248a721.zip |
TSAGE: R2R - Scene 1337: rename a variable
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 6 | ||||
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index 713d7dc7d0..4d37d6beb0 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -1634,7 +1634,7 @@ void Scene1337::unkObj1337_1::synchronize(Serializer &s) { } Scene1337::Scene1337() { - _fieldA30 = 0; + _autoplay = false; _field3E24 = 0; _field3E26 = 0; @@ -3939,7 +3939,7 @@ void Scene1337::subC20F9() { break; } - if (_fieldA30 == 0) + if (!_autoplay) _unkFctPtr412 = &Scene1337::subC20E5; else subC20E5(); @@ -4916,7 +4916,7 @@ void Scene1337::subPostInit() { _background1.setup2(9531, 1, 1, 249, 168, 155, 0); - _fieldA30 = 0; + _autoplay = false; _field424C = 0; _field424E = 0; } diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.h b/engines/tsage/ringworld2/ringworld2_scenes1.h index 4c412dbcb0..a5c7ee5f5c 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.h +++ b/engines/tsage/ringworld2/ringworld2_scenes1.h @@ -263,7 +263,7 @@ public: ASound _aSound1; ASound _aSound2; BackgroundSceneObject _background1; - int _fieldA30; + bool _autoplay; unkObj1337_1 _arrunkObj1337[4]; SceneItem _item1; SceneObject _object1; |