aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.h
diff options
context:
space:
mode:
authorBastien Bouclet2016-08-03 20:07:13 +0200
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commitabe6889bbe640c15e0fdf454d3867eb22869db5c (patch)
tree670b1274c3210eaded25de5f3d84e009c7f10425 /engines/mohawk/riven.h
parent0aaa3760c25e37800f0fda6ef4771c2347d72f7c (diff)
downloadscummvm-rg350-abe6889bbe640c15e0fdf454d3867eb22869db5c.tar.gz
scummvm-rg350-abe6889bbe640c15e0fdf454d3867eb22869db5c.tar.bz2
scummvm-rg350-abe6889bbe640c15e0fdf454d3867eb22869db5c.zip
MOHAWK: Remove the current card id from the Riven engine class
Diffstat (limited to 'engines/mohawk/riven.h')
-rw-r--r--engines/mohawk/riven.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mohawk/riven.h b/engines/mohawk/riven.h
index 11a6d071ee..300078667d 100644
--- a/engines/mohawk/riven.h
+++ b/engines/mohawk/riven.h
@@ -144,7 +144,6 @@ private:
InstallerArchive _installerArchive;
// Stack/Card-related functions and variables
- uint16 _curCard;
uint16 _curStack;
void handleEvents();
@@ -176,7 +175,7 @@ public:
Common::String getName(uint16 nameResource, uint16 nameID);
Common::String getStackName(uint16 stack) const;
void runUpdateScreenScript();
- uint16 getCurCard() const { return _curCard; }
+ RivenCard *getCurCard() const { return _card; }
uint16 getCurStack() const { return _curStack; }
uint16 matchRMAPToCard(uint32);
uint32 getCurCardRMAP();