aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorStrangerke2013-08-21 21:03:52 +0200
committerStrangerke2013-08-21 21:03:52 +0200
commit4f50702ea616c229c4cd981c8a0fb59b86823cd1 (patch)
treeea2b111f460745e3d14dcbba855953ef6926866a /engines/tsage
parent146c24484c5c83d2d9fe6bfcae039cc8729ebc8f (diff)
downloadscummvm-rg350-4f50702ea616c229c4cd981c8a0fb59b86823cd1.tar.gz
scummvm-rg350-4f50702ea616c229c4cd981c8a0fb59b86823cd1.tar.bz2
scummvm-rg350-4f50702ea616c229c4cd981c8a0fb59b86823cd1.zip
TSAGE: R2R - Fix CID 1047261
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes0.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
index f1fb75afa4..f41add96b5 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
@@ -5699,7 +5699,8 @@ bool Scene600::Laser::startAction(CursorType action, Event &event) {
bool Scene600::Aerosol::startAction(CursorType action, Event &event) {
Scene600 *scene = (Scene600 *)R2_GLOBALS._sceneManager._scene;
- if ((action < CURSOR_WALK) && (action >= R2CURSORS_START)) {
+ // CHECKME: The original is checking is action == 0. To be verified.
+ if (action == INV_NONE) {
return false;
} else if (action == CURSOR_USE) {
R2_GLOBALS._player.disableControl();