summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-09-15 18:36:33 +0000
committertruelight <truelight@openttd.org>2004-09-15 18:36:33 +0000
commita69e422cdda77f59e77c8db7bd1b8af0bf8dafdb (patch)
treee7f4d150b64cd500924d16fb14705ca8702375d3 /vehicle.c
parent0346fec1cad4fa96368e3102c2b42d0a85e288e1 (diff)
downloadopenttd-a69e422cdda77f59e77c8db7bd1b8af0bf8dafdb.tar.xz
(svn r266) -Fix: hopefully fixed the desync problem nicely (and reverted the
workaround for it)
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vehicle.c b/vehicle.c
index e8f82d6a4..31e9888bb 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -1378,6 +1378,8 @@ void MaybeRenewVehicle(Vehicle *v, int32 build_cost)
v->value = build_cost;
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
+
+ _current_player = OWNER_NONE;
}