diff options
author | Bastien Bouclet | 2016-02-06 11:27:51 +0100 |
---|---|---|
committer | Bastien Bouclet | 2016-02-07 15:27:03 +0100 |
commit | 0c8d8bbd40e4806e1b63196e283bcbff21431080 (patch) | |
tree | db98de18d0ff673851563b958ec55dee7615cbe3 /engines/mohawk/myst_stacks/selenitic.cpp | |
parent | ce25cdf8dcefc0755c4232fb40eb1a98d28e20b4 (diff) | |
download | scummvm-rg350-0c8d8bbd40e4806e1b63196e283bcbff21431080.tar.gz scummvm-rg350-0c8d8bbd40e4806e1b63196e283bcbff21431080.tar.bz2 scummvm-rg350-0c8d8bbd40e4806e1b63196e283bcbff21431080.zip |
MOHAWK: Use nullptr where applicable in the Myst code
Diffstat (limited to 'engines/mohawk/myst_stacks/selenitic.cpp')
-rw-r--r-- | engines/mohawk/myst_stacks/selenitic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/myst_stacks/selenitic.cpp b/engines/mohawk/myst_stacks/selenitic.cpp index 8b95c7fa53..0cf89eb0a1 100644 --- a/engines/mohawk/myst_stacks/selenitic.cpp +++ b/engines/mohawk/myst_stacks/selenitic.cpp @@ -39,7 +39,7 @@ namespace MystStacks { Selenitic::Selenitic(MohawkEngine_Myst *vm) : MystScriptParser(vm), _state(vm->_gameState->_selenitic) { setupOpcodes(); - _invokingResource = NULL; + _invokingResource = nullptr; _mazeRunnerPosition = 288; _mazeRunnerDirection = 8; } @@ -784,7 +784,7 @@ MystResourceType10 *Selenitic::soundLockSliderFromVar(uint16 var) { return _soundLockSlider5; } - return 0; + return nullptr; } void Selenitic::o_soundLockMove(uint16 op, uint16 var, uint16 argc, uint16 *argv) { |