summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-02-01 12:51:10 +0000
committerDarkvater <darkvater@openttd.org>2007-02-01 12:51:10 +0000
commit3c2cb4871ebef41362b401ddd300445fdb11e8be (patch)
treea608b39bb4ef180225f221d0510f390c4c00fd6a /src/station_cmd.cpp
parent74c842a3ef095688b81c48d28af935e98fa7f553 (diff)
downloadopenttd-3c2cb4871ebef41362b401ddd300445fdb11e8be.tar.xz
(svn r8507) -Codechange/Feature: Don't remove player-owned property on-load in the scenario editor. Add a button to the landscape window to do this.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 28a61f1b6..7d3f7dbb9 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2299,16 +2299,6 @@ static uint32 VehicleEnter_Station(Vehicle *v, TileIndex tile, int x, int y)
return 0;
}
-
-void DeleteAllPlayerStations(void)
-{
- Station *st;
-
- FOR_ALL_STATIONS(st) {
- if (IsValidPlayer(st->owner)) delete st;
- }
-}
-
/* this function is called for one station each tick */
static void StationHandleBigTick(Station *st)
{