diff options
author | Strangerke | 2016-01-12 11:44:48 +0100 |
---|---|---|
committer | Strangerke | 2016-01-12 11:46:33 +0100 |
commit | 56b273e0d2a900a3b64d02bf2e75057f956d8eff (patch) | |
tree | 8949501a91cf0859a77732012fa5e1d7077a71f5 /engines/voyeur | |
parent | 575bcb54a2df957d4b3107bbcfa703364dfc69ba (diff) | |
download | scummvm-rg350-56b273e0d2a900a3b64d02bf2e75057f956d8eff.tar.gz scummvm-rg350-56b273e0d2a900a3b64d02bf2e75057f956d8eff.tar.bz2 scummvm-rg350-56b273e0d2a900a3b64d02bf2e75057f956d8eff.zip |
VOYEUR: Replace a check on a value by the use of an enum
Diffstat (limited to 'engines/voyeur')
-rw-r--r-- | engines/voyeur/files_threads.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index 53eb5ce3c5..1de03c394c 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -1446,7 +1446,7 @@ int ThreadResource::doInterface() { _vm->flipPageAndWait(); pt = _vm->_eventsManager->getMousePos(); - if ((_vm->_voy->_RTVNum >= _vm->_voy->_RTVLimit) || ((_vm->_voy->_eventFlags & 0x80) && + if ((_vm->_voy->_RTVNum >= _vm->_voy->_RTVLimit) || ((_vm->_voy->_eventFlags & EVTFLAG_VICTIM_PRESET) && _vm->_eventsManager->_rightClick && (pt.x == 0))) { // Time to transition to the next time period _vm->_eventsManager->getMouseInfo(); |