aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorstrangerke2011-05-07 00:28:41 +0200
committerstrangerke2011-05-07 00:28:41 +0200
commit99da647e8f496a6d225c0f30073266625cc24f63 (patch)
tree120db3c5ebe24529039fc446c81ceb59dff742c0 /engines
parent41af0b0dc8cb6c230524bd05d43c5948fd6416d6 (diff)
downloadscummvm-rg350-99da647e8f496a6d225c0f30073266625cc24f63.tar.gz
scummvm-rg350-99da647e8f496a6d225c0f30073266625cc24f63.tar.bz2
scummvm-rg350-99da647e8f496a6d225c0f30073266625cc24f63.zip
TSAGE: Fix a bug and a couple of glitches in scene 9700
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/ringworld_scenes10.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/tsage/ringworld_scenes10.cpp b/engines/tsage/ringworld_scenes10.cpp
index dbb194aeda..65e415748d 100644
--- a/engines/tsage/ringworld_scenes10.cpp
+++ b/engines/tsage/ringworld_scenes10.cpp
@@ -1242,7 +1242,7 @@ void Scene9700::signal() {
_gfxButton1.draw();
_gfxButton1._bounds.expandPanes();
_globals->_player.enableControl();
- _globals->_player._canWalk = 0;
+ _globals->_player._canWalk = false;
_globals->_events.setCursor(CURSOR_USE);
break;
case 9704:
@@ -1253,6 +1253,7 @@ void Scene9700::signal() {
}
void Scene9700::process(Event &event) {
+ Scene::process(event);
if ((event.eventType == EVENT_BUTTON_DOWN) && !_action) {
if (_gfxButton1.process(event)) {
_globals->_sceneManager.changeScene(9200);
@@ -1277,7 +1278,7 @@ void Scene9700::postInit(SceneObjectList *OwnerList) {
_sceneHotspot1.setup(84, 218, 151, 278, 9700, 14, -1);
_sceneHotspot2.setup(89, 11, 151, 121, 9700, 14, -1);
- _sceneHotspot3.setup(69, 119, 138, 218, 9700, 15, 16);
+ _sceneHotspot3.setup(69, 119, 138, 216, 9700, 15, 16);
_sceneHotspot4.setup(34, 13, 88, 116, 9700, 17, -1);
_sceneHotspot5.setup(52, 119, 68, 204, 9700, 17, -1);
_sceneHotspot6.setup(0, 22, 56, 275, 9700, 18, -1);
@@ -1285,7 +1286,7 @@ void Scene9700::postInit(SceneObjectList *OwnerList) {
_object1.postInit();
_object1.hide();
_globals->_player.postInit();
- if (_globals->getFlag(97)) {
+ if (!_globals->getFlag(97)) {
_globals->_player.disableControl();
_sceneMode = 9701;
setAction(&_sequenceManager, this, 9701, &_globals->_player, &_object1, NULL);