Changeset - r2545:8af2a93da84a
[Not reviewed]
master
0 1 0
peter1138 - 18 years ago 2005-10-20 19:44:41
peter1138@openttd.org
(svn r3074) -NewGrf: Fix stupid typo in weight setting.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
newgrf.c
Show inline comments
 
@@ -394,7 +394,7 @@ static bool RailVehicleChangeInfo(uint e
 
			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);
0 comments (0 inline, 0 general)