summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-13 23:14:08 +0000
committerrubidium <rubidium@openttd.org>2007-06-13 23:14:08 +0000
commit991996eb3617ebe091bcc06679c4c92e9eb824ee (patch)
tree361c9204317190b7d12f79dd017f54beff8fa719
parentab6883bc19626d3b407e1f898f46c9c604312552 (diff)
downloadopenttd-991996eb3617ebe091bcc06679c4c92e9eb824ee.tar.xz
(svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!.
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index a7180809e..2b9dfb025 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -43,7 +43,7 @@
#include "group.h"
#include "economy.h"
-#define INVALID_COORD (-0x8000)
+#define INVALID_COORD (0x7fffffff)
#define GEN_HASH(x, y) ((GB((y), 6, 6) << 6) + GB((x), 7, 6))