(svn r15665) -Fix (r8973): Handling of aircraft crash counter did not take account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1.

pull/155/head
peter1138 16 years ago
parent 08862489f1
commit 812f6b8676

@ -1156,7 +1156,7 @@ static bool AircraftController(Vehicle *v)
static void HandleCrashedAircraft(Vehicle *v)
{
v->u.air.crashed_counter++;
v->u.air.crashed_counter += 3;
Station *st = GetTargetAirportIfValid(v);

Loading…
Cancel
Save