diff options
author | Strangerke | 2013-10-29 00:11:25 +0100 |
---|---|---|
committer | Strangerke | 2013-10-29 00:11:57 +0100 |
commit | f938743b06c22e3b2f22a70c6ffa0150bd87cb94 (patch) | |
tree | 1b0ec3c19d69d0b65206628787f6e7e3ea865713 /engines/tsage/ringworld2 | |
parent | fbc4ec1d4cfa9cb6eb1380c62ab6ce1dbc3d2081 (diff) | |
download | scummvm-rg350-f938743b06c22e3b2f22a70c6ffa0150bd87cb94.tar.gz scummvm-rg350-f938743b06c22e3b2f22a70c6ffa0150bd87cb94.tar.bz2 scummvm-rg350-f938743b06c22e3b2f22a70c6ffa0150bd87cb94.zip |
TSAGE: Fix CID 1003935, 1003723, 1002377 and 1002376
Diffstat (limited to 'engines/tsage/ringworld2')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index a57395b9f6..919af14c28 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -1896,6 +1896,7 @@ void Scene1200::process(Event &event) { SceneItem::display(1200, 10, 0, 280, 1, 160, 9, 1, 2, 20, 7, 7, -999); break; } + break; case 33: R2_GLOBALS._sceneManager.changeScene(3245); break; @@ -2242,6 +2243,11 @@ Scene1337::Scene1337() { _field424A = 0; _field424C = 0; _field424E = 0; + + _unkFctPtr412 = nullptr; + _field3EF0 = nullptr; + _field3EF4 = nullptr; + _field3EF8 = nullptr; } void Scene1337::synchronize(Serializer &s) { @@ -4947,7 +4953,7 @@ void Scene1337::subC2C2F() { if (!found) { for (int i = 0; i <= 7; i++) { - if ((_arrunkObj1337[3]._arr2[i]._field34 == 1) && (!subC2687(_arrunkObj1337[3]._arr3[i]._field34))) { + if ((_arrunkObj1337[3]._arr2[i]._field34 == 1) && (!subC2687(_arrunkObj1337[3]._arr3[0]._field34))) { int tmpVal = 0; for (int j = 0; j <= 7; j++) { @@ -10915,6 +10921,8 @@ Scene1750::Scene1750() { _field419 = 0; _field41B = 0; _field41D = 0; + + _rotation = nullptr; } void Scene1750::synchronize(Serializer &s) { |