TSAGE: Fixed nesting level. CID 1003636

This commit is contained in:
Eugene Sandulenko 2013-04-28 23:51:51 +03:00
parent 717281734d
commit 30f78b3f4e

View File

@ -6931,9 +6931,10 @@ void Scene1550::UnkArea1550::process(Event &event) {
CursorType cursor = R2_GLOBALS._events.getCursor();
if (_areaActor._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;