summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
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
commit5644794af92dede92ad6622195d3d5f4e4b947c7 (patch)
tree361c9204317190b7d12f79dd017f54beff8fa719 /src/vehicle.cpp
parentbda903e70bc4fb1a3d42edd846b03ae65e2371ce (diff)
downloadopenttd-5644794af92dede92ad6622195d3d5f4e4b947c7.tar.xz
(svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!.
Diffstat (limited to 'src/vehicle.cpp')
-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))