diff options
author | Strangerke | 2013-08-21 20:37:38 +0200 |
---|---|---|
committer | Strangerke | 2013-08-21 20:37:38 +0200 |
commit | bc4e4ec9b85186e80a926ee0ad71add773f3d430 (patch) | |
tree | b9159856ac209798c253e498d3ee534ad3654914 /engines/tsage/ringworld2 | |
parent | cca4e41bf10ea34a0e7cea186f2fb24b9a7d604f (diff) | |
download | scummvm-rg350-bc4e4ec9b85186e80a926ee0ad71add773f3d430.tar.gz scummvm-rg350-bc4e4ec9b85186e80a926ee0ad71add773f3d430.tar.bz2 scummvm-rg350-bc4e4ec9b85186e80a926ee0ad71add773f3d430.zip |
TSAGE: R2R - Fix CID 1063348
Diffstat (limited to 'engines/tsage/ringworld2')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes0.cpp | 5 | ||||
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes0.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp index 1cc33e29a9..f1fb75afa4 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp @@ -4822,6 +4822,11 @@ void Scene400::dispatch() { * *--------------------------------------------------------------------------*/ +Scene500::PanelDialog::Button::Button() { + _buttonId = 0; + _buttonDown = false; +} + bool Scene500::ControlPanel::startAction(CursorType action, Event &event) { Scene500 *scene = (Scene500 *)R2_GLOBALS._sceneManager._scene; diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.h b/engines/tsage/ringworld2/ringworld2_scenes0.h index 273c9841fe..67f210afce 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes0.h +++ b/engines/tsage/ringworld2/ringworld2_scenes0.h @@ -533,6 +533,7 @@ class Scene500: public SceneExt { void doButtonPress(); public: + Button(); virtual Common::String getClassName() { return "Scene500_Button"; } virtual void process(Event &event); virtual bool startAction(CursorType action, Event &event); |