[Scummvm-cvs-logs] scummvm master -> 56b273e0d2a900a3b64d02bf2e75057f956d8eff

Strangerke Strangerke at scummvm.org
Tue Jan 12 11:54:01 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
56b273e0d2 VOYEUR: Replace a check on a value by the use of an enum


Commit: 56b273e0d2a900a3b64d02bf2e75057f956d8eff
    https://github.com/scummvm/scummvm/commit/56b273e0d2a900a3b64d02bf2e75057f956d8eff
Author: Strangerke (strangerke at scummvm.org)
Date: 2016-01-12T11:46:33+01:00

Commit Message:
VOYEUR: Replace a check on a value by the use of an enum

Changed paths:
    engines/voyeur/files_threads.cpp



diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 53eb5ce..1de03c3 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();






More information about the Scummvm-git-logs mailing list