diff options
author | Strangerke | 2013-04-27 11:43:41 +0200 |
---|---|---|
committer | Strangerke | 2013-04-27 11:43:41 +0200 |
commit | e65597c8f33c3f0876c7c50a704c0fa2c57c26f2 (patch) | |
tree | 63a69decd5724eb77fdaf0a4e5c1fd045a255bf1 /engines | |
parent | 34ded75f40ce187d0789f5987b11b86659de723a (diff) | |
download | scummvm-rg350-e65597c8f33c3f0876c7c50a704c0fa2c57c26f2.tar.gz scummvm-rg350-e65597c8f33c3f0876c7c50a704c0fa2c57c26f2.tar.bz2 scummvm-rg350-e65597c8f33c3f0876c7c50a704c0fa2c57c26f2.zip |
TSAGE: Fix some non-initialized variables. CID 1002389, 1002390, 1002391
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/ringworld/ringworld_scenes3.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/tsage/ringworld/ringworld_scenes3.cpp b/engines/tsage/ringworld/ringworld_scenes3.cpp index 0e4ccd1269..b2ed986331 100644 --- a/engines/tsage/ringworld/ringworld_scenes3.cpp +++ b/engines/tsage/ringworld/ringworld_scenes3.cpp @@ -2179,6 +2179,7 @@ Scene2120::Scene2120(): Scene() { _prevDbMode = 0; _visageVisable = false; _subjectIndex = 0; + _lineOffset = 0; } void Scene2120::postInit(SceneObjectList *OwnerList) { @@ -3690,8 +3691,8 @@ void Scene2230::Hotspot12::doAction(int action) { /*--------------------------------------------------------------------------*/ -Scene2230::Scene2230() : - _hotspot9(0, CURSOR_LOOK, 2230, 16, CURSOR_USE, 2230, 18, LIST_END) { +Scene2230::Scene2230() : _hotspot9(0, CURSOR_LOOK, 2230, 16, CURSOR_USE, 2230, 18, LIST_END) { + _field30A = 0; } void Scene2230::postInit(SceneObjectList *OwnerList) { @@ -4877,6 +4878,7 @@ Scene2310::Scene2310() { _rectList[4].set(199, 70, 215, 140); _wireIndex = 5; + _pageIndex = 0; } void Scene2310::postInit(SceneObjectList *OwnerList) { |