(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.

This commit is contained in:
peter1138 2009-03-10 18:54:33 +00:00
parent f45e3b3068
commit 733c0c5c5b
1 changed files with 1 additions and 1 deletions

View File

@ -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);