diff options
author | Paul Gilbert | 2011-12-08 15:03:53 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-12-08 15:03:53 +1100 |
commit | eb862627f41d49e1811872c855f1a76616645c11 (patch) | |
tree | 0579a18b048cec30b8e5678c33a820e9c4360074 /engines/tsage | |
parent | 46ee76b1b44ecd2f9a3ba55096f19f51f9e151e2 (diff) | |
download | scummvm-rg350-eb862627f41d49e1811872c855f1a76616645c11.tar.gz scummvm-rg350-eb862627f41d49e1811872c855f1a76616645c11.tar.bz2 scummvm-rg350-eb862627f41d49e1811872c855f1a76616645c11.zip |
TSAGE: Bugfix initialisation of R2R scene 2425 that caused crashes when clicking on items
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes2.cpp b/engines/tsage/ringworld2/ringworld2_scenes2.cpp index bc431f2303..c162638e94 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes2.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes2.cpp @@ -1441,7 +1441,7 @@ void Scene2425::postInit(SceneObjectList *OwnerList) { _actor3._lookLineNum = 3; _actor3._talkLineNum = -1; _actor3._useLineNum = 6; - g_globals->_sceneItems.addItems(&_actor3, this); + g_globals->_sceneItems.push_back(&_actor3); _item3.setDetails(12, 2425, 7, -1, 9); _item4.setDetails(Rect(0, 0, 320, 200), 2425, 0, -1, -1, 1, NULL); |