From ade2951d7ce2eb85ea3fd2c90e053ad190a4477e Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sun, 21 Mar 2010 11:55:43 +0000 Subject: [PATCH] Allow erasing stations --- src/Map.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Map.cpp b/src/Map.cpp index cb960a4..627d9c9 100644 --- a/src/Map.cpp +++ b/src/Map.cpp @@ -281,6 +281,9 @@ void Map::eraseTile(int x, int y) if (tile.scenery) tile.scenery.reset(); + + if (tile.station) + tile.station.reset(); } bool Map::emptyTile(Point point) const -- 2.39.2