aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-04-28 23:50:46 +0300
committerEugene Sandulenko2013-04-28 23:59:21 +0300
commit717281734d49042c3f60c0b34fe60b3e6cb43e3e (patch)
treeca0e86e4ec459d48e8d2121a3ab7b7ef4bfdc1b8
parent18413bc0b3e02f40f3860e5b0ce8e4b593f72f0b (diff)
downloadscummvm-rg350-717281734d49042c3f60c0b34fe60b3e6cb43e3e.tar.gz
scummvm-rg350-717281734d49042c3f60c0b34fe60b3e6cb43e3e.tar.bz2
scummvm-rg350-717281734d49042c3f60c0b34fe60b3e6cb43e3e.zip
TSAGE: Fixed nesting level. CID 1003637
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index 3a246459dd..82356cab22 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -1062,9 +1062,10 @@ void Scene1200::Area1::process(Event &event) {
CursorType cursor = R2_GLOBALS._events.getCursor();
if (_actor2._bounds.contains(event.mousePos.x + g_globals->gfxManager()._bounds.left , event.mousePos.y)) {
- if (cursor == _cursorNum)
+ if (cursor == _cursorNum) {
warning("TODO: _cursorState = ???");
R2_GLOBALS._events.setCursor(_savedCursorNum); //, _cursorState);
+ }
} else if (event.mousePos.y < 168) {
if (cursor != _cursorNum) {
_savedCursorNum = cursor;