changeset 9274 | 42b67e65f1c2 |
parent 9234 | bfc9d27d3d0d |
child 9297 | 1cb8d7bbdc8a |
--- a/src/train_cmd.cpp Sat May 17 12:48:06 2008 +0000 +++ b/src/train_cmd.cpp Sat May 17 13:01:30 2008 +0000 @@ -1350,7 +1350,7 @@ if (flags & DC_EXEC) { if (v == first && IsFrontEngine(first)) { - delete FindWindowById(WC_VEHICLE_VIEW, first->index); + DeleteWindowById(WC_VEHICLE_VIEW, first->index); } InvalidateWindow(WC_VEHICLE_DEPOT, first->tile); RebuildVehicleLists();