aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cstime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/cstime.cpp')
-rw-r--r--engines/mohawk/cstime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/cstime.cpp b/engines/mohawk/cstime.cpp
index 6ca824a143..0d72a68648 100644
--- a/engines/mohawk/cstime.cpp
+++ b/engines/mohawk/cstime.cpp
@@ -249,7 +249,7 @@ uint16 MohawkEngine_CSTime::getCurrentEventType() {
void MohawkEngine_CSTime::eventIdle() {
bool done = false;
while (_events.size() && !done && true /* TODO: !_options->getState() */) {
- _lastTimeout = ~0;
+ _lastTimeout = 0xffffffff;
bool advanceQueue = true;
bool processEvent = true;
@@ -346,7 +346,7 @@ bool MohawkEngine_CSTime::NISIsRunning() {
void MohawkEngine_CSTime::reset() {
_NISRunning = false;
- _lastTimeout = ~0;
+ _lastTimeout = 0xffffffff;
_processingEvent = false;
}