diff options
author | Strangerke | 2013-10-27 13:14:57 +0100 |
---|---|---|
committer | Strangerke | 2013-10-27 13:15:31 +0100 |
commit | 90a6a2168abda22eb4095452cad0e33eb03566ff (patch) | |
tree | c0d225b8fbf5bfd3a1b96ab0218f74bcc1f25809 /engines/tsage | |
parent | d596f4670b36c2bab8eeb4f051b5ace7ee2d56cd (diff) | |
download | scummvm-rg350-90a6a2168abda22eb4095452cad0e33eb03566ff.tar.gz scummvm-rg350-90a6a2168abda22eb4095452cad0e33eb03566ff.tar.bz2 scummvm-rg350-90a6a2168abda22eb4095452cad0e33eb03566ff.zip |
TSAGE: Fix CID 1002392 and CID 1002387
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld/ringworld_logic.cpp | 5 | ||||
-rw-r--r-- | engines/tsage/ringworld/ringworld_scenes5.cpp | 3 | ||||
-rw-r--r-- | engines/tsage/ringworld/ringworld_scenes5.h | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/engines/tsage/ringworld/ringworld_logic.cpp b/engines/tsage/ringworld/ringworld_logic.cpp index 0584570ac2..1e9d14cdcf 100644 --- a/engines/tsage/ringworld/ringworld_logic.cpp +++ b/engines/tsage/ringworld/ringworld_logic.cpp @@ -270,6 +270,11 @@ bool DisplayObject::performAction(int action) { SceneArea::SceneArea() { _savedArea = NULL; _pt.x = _pt.y = 0; + + _resNum = 0; + _rlbNum = 0; + _subNum = 0; + _actionId = 0; } SceneArea::~SceneArea() { diff --git a/engines/tsage/ringworld/ringworld_scenes5.cpp b/engines/tsage/ringworld/ringworld_scenes5.cpp index 004ccbbb6d..725370c8a4 100644 --- a/engines/tsage/ringworld/ringworld_scenes5.cpp +++ b/engines/tsage/ringworld/ringworld_scenes5.cpp @@ -34,6 +34,9 @@ namespace Ringworld { * Scene 4000 - Village * *--------------------------------------------------------------------------*/ +Scene4000::Hotspot8::Hotspot8() : SceneObject() { + _ctr = 0; +} void Scene4000::Action1::signal() { // Quinn has the peg. Everybody enter the screen. diff --git a/engines/tsage/ringworld/ringworld_scenes5.h b/engines/tsage/ringworld/ringworld_scenes5.h index c93df2a1d8..2fe26d9712 100644 --- a/engines/tsage/ringworld/ringworld_scenes5.h +++ b/engines/tsage/ringworld/ringworld_scenes5.h @@ -99,6 +99,7 @@ class Scene4000 : public Scene { private: int _ctr; public: + Hotspot8(); virtual void synchronize(Serializer &s) { SceneObject::synchronize(s); s.syncAsUint16LE(_ctr); |