(svn r2043) -Fix: committed too many files in the last commit

This commit is contained in:
truelight
2005-03-24 14:33:05 +00:00
parent e51659da60
commit 813e84bf9e
4 changed files with 5 additions and 7 deletions

View File

@@ -1346,6 +1346,9 @@ int LoadUnloadVehicle(Vehicle *v)
assert(v->current_order.type == OT_LOADING);
v->cur_speed = 0;
old_player = _current_player;
_current_player = v->owner;
st = GetStation(last_visited = v->last_station_visited);
for (; v != NULL; v = v->next) {
@@ -1452,9 +1455,6 @@ int LoadUnloadVehicle(Vehicle *v)
TriggerVehicle(v, VEHICLE_TRIGGER_EMPTY);
}
old_player = _current_player;
_current_player = v->owner;
if (result != 0) {
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);