From 49c627ba3533d73dda1e3794e3aa8c895e08958f Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 20 Oct 2005 19:44:41 +0000 Subject: (svn r3074) -NewGrf: Fix stupid typo in weight setting. --- newgrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newgrf.c b/newgrf.c index 65dbb5316..482cc5e57 100644 --- a/newgrf.c +++ b/newgrf.c @@ -394,7 +394,7 @@ static bool RailVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf 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); -- cgit v1.2.3-70-g09d2