summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-04-23 18:37:53 +0000
committerpeter1138 <peter1138@openttd.org>2006-04-23 18:37:53 +0000
commitaf556831a9d959a153af57b604c9ededb4ed2854 (patch)
treede6c6f5a77204b5c1cf9b58c639bd64e7913e19d
parentb4ba26bce7a546dccc526aca75068a3fbaf6af5f (diff)
downloadopenttd-af556831a9d959a153af57b604c9ededb4ed2854.tar.xz
(svn r4552) - NewGRF: fix braino... in r4550, new_scheme should true when the version is 7 or higher, not less than 7...
-rw-r--r--newgrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index 993b535df..385530145 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1724,7 +1724,7 @@ static void VehicleNewName(byte *buf, int len)
uint16 id;
uint16 endid;
const char* name;
- bool new_scheme = _cur_grffile->grf_version < 7;
+ bool new_scheme = _cur_grffile->grf_version >= 7;
check_length(len, 6, "VehicleNewName");
buf++;