rail_cmd.c
changeset 4739 bd535b408617
parent 4725 f7284b86833f
child 4790 04df6a3f9b31
--- a/rail_cmd.c	Thu Oct 05 12:18:07 2006 +0000
+++ b/rail_cmd.c	Thu Oct 05 12:59:28 2006 +0000
@@ -2005,6 +2005,7 @@
 			v->u.rail.track = 0x80,
 			v->vehstatus |= VS_HIDDEN; /* hide it */
 			v->direction = ReverseDir(v->direction);
+			InvalidateWindowData(WC_VEHICLE_DEPOT, v->tile);
 			if (v->next == NULL)
 				VehicleEnterDepot(v);
 			v->tile = tile;