# HG changeset patch # User peter1138 # Date 1129837481 0 # Node ID aa71b3d576ce6d38656b033284babe3cad1a5950 # Parent 2c6a25db1bd0263a84177c609eb678bdc25be828 (svn r3074) -NewGrf: Fix stupid typo in weight setting. diff -r 2c6a25db1bd0 -r aa71b3d576ce newgrf.c --- a/newgrf.c Thu Oct 20 17:43:13 2005 +0000 +++ b/newgrf.c Thu Oct 20 19:44:41 2005 +0000 @@ -394,7 +394,7 @@ FOR_EACH_OBJECT { byte weight = grf_load_byte(&buf); - if (weight < 4) { + if (weight > 4) { grfmsg(GMS_NOTICE, "RailVehicleChangeInfo: Nonsensical weight of %d tons, ignoring.", weight << 8); } else { SB(rvi[i].weight, 8, 8, weight);