aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-08-21 21:07:15 +0200
committerStrangerke2013-08-21 21:07:15 +0200
commita606467183a2fe4bf803835f5e4fe322a330e0d4 (patch)
treec05892a541bd263e174f92d0e979b726ee7891ee
parent4f50702ea616c229c4cd981c8a0fb59b86823cd1 (diff)
downloadscummvm-rg350-a606467183a2fe4bf803835f5e4fe322a330e0d4.tar.gz
scummvm-rg350-a606467183a2fe4bf803835f5e4fe322a330e0d4.tar.bz2
scummvm-rg350-a606467183a2fe4bf803835f5e4fe322a330e0d4.zip
TSAGE: R2R - Fix CID 1047260
-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 f41add96b5..c175600115 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
@@ -5587,7 +5587,8 @@ GfxSurface Scene600::Actor4::getFrame() {
}
bool Scene600::Doorway::startAction(CursorType action, Event &event) {
- if ((action < CURSOR_WALK) && (action >= R2CURSORS_START))
+ // CHECKME: The original is checking is action == 0. To be verified.
+ if (action == INV_NONE)
return false;
if (action != CURSOR_USE)