(svn r9684) -Fix (r9683): Remove vehicles from the station loading list instead of adding

them again when they leave, and add a v->LeaveStation() call for aircraft.
This commit is contained in:
maedhros
2007-04-20 11:05:56 +00:00
parent fdf86bb4a2
commit 8b65349d86
2 changed files with 2 additions and 1 deletions

View File

@@ -1411,6 +1411,7 @@ static void HandleAircraftLoading(Vehicle *v, int mode)
}
Order b = v->current_order;
v->LeaveStation();
v->current_order.Free();
MarkAircraftDirty(v);
if (!(b.flags & OF_NON_STOP)) return;