diff options
Diffstat (limited to 'engines/mads/nebular/game_nebular.cpp')
-rw-r--r-- | engines/mads/nebular/game_nebular.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp index b1dcfb09ce..9a4fa97a57 100644 --- a/engines/mads/nebular/game_nebular.cpp +++ b/engines/mads/nebular/game_nebular.cpp @@ -44,7 +44,7 @@ GameNebular::GameNebular(MADSEngine *vm): Game(vm) { ProtectionResult GameNebular::checkCopyProtection() { /* // DEBUG: Flag copy protection failure - _globals[5] = -1; + _globals[kCopyProtectFailed] = -1; if (!ConfMan.getBool("copy_protection")) return true; @@ -271,7 +271,7 @@ void GameNebular::setSectionHandler() { } void GameNebular::checkShowDialog() { - if (_vm->_dialogs->_pendingDialog && _player._stepEnabled && !_globals[5]) { + if (_vm->_dialogs->_pendingDialog && _player._stepEnabled && !_globals[kCopyProtectFailed]) { _player.releasePlayerSprites(); _vm->_dialogs->showDialog(); _vm->_dialogs->_pendingDialog = DIALOG_NONE; |