1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-30 23:54:35 +01:00

(svn r12891) [0.6] -Fix (r12868): breakdowns were broken and would cause vehicles to go slower than they should have been moving.

This commit is contained in:
rubidium
2008-04-25 06:15:12 +00:00
parent 9241c4649d
commit e114133d18
4 changed files with 4 additions and 4 deletions

View File

@@ -1938,7 +1938,7 @@ static void RoadVehController(Vehicle *v)
HandleBrokenRoadVeh(v);
return;
}
if (!v->current_order.type == OT_LOADING) v->breakdown_ctr--;
if (v->current_order.type != OT_LOADING) v->breakdown_ctr--;
}
if (v->vehstatus & VS_STOPPED) return;