diff options
author | peter1138 <peter1138@openttd.org> | 2005-10-20 19:44:41 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-10-20 19:44:41 +0000 |
commit | 49c627ba3533d73dda1e3794e3aa8c895e08958f (patch) | |
tree | 2a3ee8b962a74453664e4727b3ddef393ae421aa | |
parent | d7cbd0d4c37bc60dc79f6d3cd4fbddd96b093e18 (diff) | |
download | openttd-49c627ba3533d73dda1e3794e3aa8c895e08958f.tar.xz |
(svn r3074) -NewGrf: Fix stupid typo in weight setting.
-rw-r--r-- | newgrf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |