(svn r1633) -Fix: [1040119] Flood and wagons in depot

This commit is contained in:
darkvater
2005-01-24 00:36:22 +00:00
parent 590bbd7e21
commit a9e789fa02
2 changed files with 5 additions and 1 deletions

View File

@@ -587,7 +587,7 @@ static void FloodVehicle(Vehicle *v)
else if (v->type == VEH_Train) {
v = GetFirstVehicleInChain(v);
u = v;
pass = 4; // driver
if (v->subtype == TS_Front_Engine) pass = 4; // driver
// crash all wagons, and count passangers
BEGIN_ENUM_WAGONS(v)