summaryrefslogtreecommitdiff
path: root/newgrf.c
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
commit72d3fabb58a98921b963cfc7b788e498275724cc (patch)
treede6c6f5a77204b5c1cf9b58c639bd64e7913e19d /newgrf.c
parent70bd867d7134c6eb44cdca80275d3015bb7807c3 (diff)
downloadopenttd-72d3fabb58a98921b963cfc7b788e498275724cc.tar.xz
(svn r4552) - NewGRF: fix braino... in r4550, new_scheme should true when the version is 7 or higher, not less than 7...
Diffstat (limited to 'newgrf.c')
-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++;