summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-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;