diff options
author | Strangerke | 2012-01-13 22:18:42 +0100 |
---|---|---|
committer | Strangerke | 2012-01-13 22:18:42 +0100 |
commit | 1a12d24981678ede9e708cb441d44d9fe0964808 (patch) | |
tree | 9d22ecf0ca263a1666516fb406ba463fbf558ff2 /engines/tsage | |
parent | 9e2f1b6a42622756d1027e3522c5223329ad66ad (diff) | |
download | scummvm-rg350-1a12d24981678ede9e708cb441d44d9fe0964808.tar.gz scummvm-rg350-1a12d24981678ede9e708cb441d44d9fe0964808.tar.bz2 scummvm-rg350-1a12d24981678ede9e708cb441d44d9fe0964808.zip |
TSAGE: R2R - Silent warning
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index 34a4d6da0d..45aec17fbf 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -2886,8 +2886,8 @@ void Scene1550::signal() { void Scene1550::process(Event &event) { if ((!R2_GLOBALS._player._canWalk) && (R2_GLOBALS._events.getCursor() == R2_NEGATOR_GUN) && (event.eventType == EVENT_BUTTON_DOWN) && (this->_screenNumber == 1234)) { - int curReg = 0; - if (curReg = R2_GLOBALS._sceneRegions.indexOf(event.mousePos) == 0) + int curReg = R2_GLOBALS._sceneRegions.indexOf(event.mousePos); + if (curReg == 0) _field412 = 1; else if (((R2_GLOBALS._player._position.y < 90) && (event.mousePos.y > 90)) || ((R2_GLOBALS._player._position.y > 90) && (event.mousePos.y < 90))) _field412 = 1; |