diff options
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r-- | engines/mohawk/myst.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index 08873ae455..15232966dd 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -612,6 +612,15 @@ void MohawkEngine_Myst::checkCurrentResource() { checkCursorHints(); } +MystResource *MohawkEngine_Myst::updateCurrentResource() { + checkCurrentResource(); + + if (_curResource >= 0) + return _resources[_curResource]; + else + return 0; +} + void MohawkEngine_Myst::loadCard() { debugC(kDebugView, "Loading Card View:"); |