summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-03-13 15:55:04 +0000
committerfrosch <frosch@openttd.org>2010-03-13 15:55:04 +0000
commitce751804e9988b01124ac9df2d9d4367729f0d35 (patch)
tree102a1bd5db6bed4fc86715146528acbdb3793d79
parent7e1a91db21e554b1518944b5523ce997b96eb622 (diff)
downloadopenttd-ce751804e9988b01124ac9df2d9d4367729f0d35.tar.xz
(svn r19403) -Fix (r19398): Test inverted.
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 32af16fb1..eb7798955 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1091,7 +1091,7 @@ static void CheckCaches()
{
/* Return here so it is easy to add checks that are run
* always to aid testing of caches. */
- if (_debug_desync_level > 1) return;
+ if (_debug_desync_level <= 1) return;
/* Strict checking of the road stop cache entries */
const RoadStop *rs;