aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2017-01-25 01:06:58 +0100
committerEugene Sandulenko2017-01-25 22:42:27 +0100
commitc4bec08886666dccd990f5260f8aff3ff5db7697 (patch)
treef65d405dd0ad685e22cbc6e29f15e2fbbbea9b2c
parent46ead907840c271fc4563fc54b54273d28874aae (diff)
downloadscummvm-rg350-c4bec08886666dccd990f5260f8aff3ff5db7697.tar.gz
scummvm-rg350-c4bec08886666dccd990f5260f8aff3ff5db7697.tar.bz2
scummvm-rg350-c4bec08886666dccd990f5260f8aff3ff5db7697.zip
CRYO: Remove last use of EDEN_DEBUG
-rw-r--r--engines/cryo/eden.cpp4
-rw-r--r--engines/cryo/eden.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp
index f1fb22f225..ea00b5e2e2 100644
--- a/engines/cryo/eden.cpp
+++ b/engines/cryo/eden.cpp
@@ -4633,9 +4633,7 @@ void EdenGame::setDestRect(int16 sx, int16 sy, int16 ex, int16 ey) {
void EdenGame::wait(int howlong) {
int t = g_system->getMillis();
-#ifdef EDEN_DEBUG
- howlong *= 10;
-#endif
+
for (int t2 = t; t2 - t < howlong; t2 = g_system->getMillis())
g_system->delayMillis(10); // waste time
}
diff --git a/engines/cryo/eden.h b/engines/cryo/eden.h
index 6bd5f93382..9eea4dd541 100644
--- a/engines/cryo/eden.h
+++ b/engines/cryo/eden.h
@@ -33,8 +33,6 @@ enum Direction {
kCryoWest = 3
};
-#define EDEN_DEBUG
-
namespace Cryo {
class CryoEngine;