diff options
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r-- | roadveh_cmd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c index 04959beee..0777dec28 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -195,7 +195,6 @@ int32 CmdBuildRoadVeh(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) GetPlayer(_current_player)->num_engines[p1]++; InvalidateWindowData(WC_VEHICLE_DEPOT, v->tile); - InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); RebuildVehicleLists(); InvalidateWindow(WC_COMPANY, v->owner); if (IsLocalPlayer()) @@ -1307,7 +1306,6 @@ static void RoadVehController(Vehicle *v) SetRoadVehPosition(v,x,y); InvalidateWindowData(WC_VEHICLE_DEPOT, v->tile); - InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); return; } |