(svn r3074) -NewGrf: Fix stupid typo in weight setting.
authorpeter1138
Thu, 20 Oct 2005 19:44:41 +0000
changeset 2545 aa71b3d576ce
parent 2544 2c6a25db1bd0
child 2546 50b42e72a6f1
(svn r3074) -NewGrf: Fix stupid typo in weight setting.
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);