diff options
author | Colin Snover | 2017-11-20 15:31:52 -0600 |
---|---|---|
committer | Colin Snover | 2017-11-20 18:43:18 -0600 |
commit | 7fc9e381b8069335ec85de481fa843d57f951218 (patch) | |
tree | 2d3a4575c4e9f21b9a0f6ad9c6de5613426aede7 /engines/tsage/core.cpp | |
parent | b20670e5645c06c695ad06d6da9dcf7d9e5b0324 (diff) | |
download | scummvm-rg350-7fc9e381b8069335ec85de481fa843d57f951218.tar.gz scummvm-rg350-7fc9e381b8069335ec85de481fa843d57f951218.tar.bz2 scummvm-rg350-7fc9e381b8069335ec85de481fa843d57f951218.zip |
TSAGE: Fix invalid C-style casts to unrelated classes
Diffstat (limited to 'engines/tsage/core.cpp')
-rw-r--r-- | engines/tsage/core.cpp | 2 |
1 files changed, 1 insertions, 1 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 |