forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user