summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
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++;