1
0
Fork 0

(svn r2065) -Fix: reverted revision 2044, because it had more negative effects than positive

release/0.4.5
truelight 2005-03-25 16:10:33 +00:00
parent 339785dad7
commit 05dbeaeba4
1 changed files with 3 additions and 3 deletions

View File

@ -1347,6 +1347,9 @@ int LoadUnloadVehicle(Vehicle *v)
v->cur_speed = 0; v->cur_speed = 0;
old_player = _current_player;
_current_player = v->owner;
st = GetStation(last_visited = v->last_station_visited); st = GetStation(last_visited = v->last_station_visited);
for (; v != NULL; v = v->next) { for (; v != NULL; v = v->next) {
@ -1453,9 +1456,6 @@ int LoadUnloadVehicle(Vehicle *v)
TriggerVehicle(v, VEHICLE_TRIGGER_EMPTY); TriggerVehicle(v, VEHICLE_TRIGGER_EMPTY);
} }
old_player = _current_player;
_current_player = v->owner;
if (result != 0) { if (result != 0) {
InvalidateWindow(WC_VEHICLE_DETAILS, v->index); InvalidateWindow(WC_VEHICLE_DETAILS, v->index);