diff options
-rw-r--r-- | engines/tsage/core.cpp | 2 | ||||
-rw-r--r-- | engines/tsage/user_interface.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index a3ed3abb5b..247070d59c 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -93,7 +93,7 @@ InvObject::InvObject(int strip, int frame) { void InvObject::setCursor() { if (g_vm->getGameID() != GType_Ringworld) { // All other games - _cursorId = (CursorType)BF_GLOBALS._inventory->indexOf(this); + _cursorId = (CursorType)g_globals->_inventory->indexOf(this); g_globals->_events.setCursor(_cursorId); } else { // Ringworld cursor handling diff --git a/engines/tsage/user_interface.cpp b/engines/tsage/user_interface.cpp index fffc0dc16c..d5e40cba83 100644 --- a/engines/tsage/user_interface.cpp +++ b/engines/tsage/user_interface.cpp @@ -205,7 +205,7 @@ void UIInventoryScroll::process(Event &event) { toggle(true); // Wait for the mouse to be released - BF_GLOBALS._events.waitForPress(EVENT_BUTTON_UP); + g_globals->_events.waitForPress(EVENT_BUTTON_UP); // Restore unselected version toggle(false); |