Changeset - r2876:8ce6e775066c
[Not reviewed]
master
0 1 0
peter1138 - 19 years ago 2006-01-24 09:33:51
peter1138@openttd.org
(svn r3424) - NewGRF fix: Only power should decide whether a rail vehicle is an engine or a wagon. (fixes SHIKI 810 in jpsetw.grf)
1 file changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
newgrf.c
Show inline comments
 
@@ -255,7 +255,6 @@ static bool RailVehicleChangeInfo(uint e
 
					runcostfact /= 2;
 

	
 
				rvi[i].running_cost_base = runcostfact;
 
				dewagonize(runcostfact, engine + i);
 
			}
 
		} break;
 
		case 0x0E: { /* Running cost base */
 
@@ -267,7 +266,6 @@ static bool RailVehicleChangeInfo(uint e
 
					case 0x4C36: rvi[i].running_cost_class = 1; break;
 
					case 0x4C3C: rvi[i].running_cost_class = 2; break;
 
				}
 
				dewagonize(base, engine + i);
 
			}
 
		} break;
 
		case 0x12: { /* Sprite ID */
0 comments (0 inline, 0 general)