aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2018-04-26 14:27:59 -0700
committerBastien Bouclet2018-04-27 19:22:00 +0200
commit52e247e2397f189667d4637241c25050c6279224 (patch)
treeb82acba6f73d9539ba806ca8b6042dc2a66b3751 /engines/mohawk/myst.cpp
parentf125ffb89c59f9f8ad56090f151cc09f52c9f76f (diff)
downloadscummvm-rg350-52e247e2397f189667d4637241c25050c6279224.tar.gz
scummvm-rg350-52e247e2397f189667d4637241c25050c6279224.tar.bz2
scummvm-rg350-52e247e2397f189667d4637241c25050c6279224.zip
MOHAWK: MYST: Make Dni/Atrus endings an enum
The global variable "ending" tracks various states that Atrus can be in. This variable determines what video of Atrus will be playing and if the brother books have been destroyed. Despite this variable being called ending there are other endings not captured by this variable (like the brother endings). Also change spelling of Dini to Dni for one usage of ActiveAge from a previous commit.
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r--engines/mohawk/myst.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index c0e3405845..bda69183c3 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -568,7 +568,7 @@ void MohawkEngine_Myst::changeToStack(uint16 stack, uint16 card, uint16 linkSrcS
_scriptParser = new MystStacks::Demo(this);
break;
case kDniStack:
- _gameState->_globals.currentAge = kDini;
+ _gameState->_globals.currentAge = kDni;
_scriptParser = new MystStacks::Dni(this);
break;
case kIntroStack: