From 27f6fcae4cd848f3c8e322526ba90668981a5020 Mon Sep 17 00:00:00 2001 From: darkvater Date: Sun, 15 Aug 2004 21:10:08 +0000 Subject: (svn r60) -Fix: signal_density is given as a parameter to autosignal. This means all players can define it for themselves. -Fix a few warnings --- station_cmd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'station_cmd.c') diff --git a/station_cmd.c b/station_cmd.c index 3422e5a9a..17471e419 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -63,8 +63,6 @@ static Station *GetStationAround(uint tile, int w, int h, int closest_station) TileIndex GetStationTileForVehicle(Vehicle *v, Station *st) { - TileIndex required_tile=0; - switch (v->type) { case VEH_Train: return st->train_tile; case VEH_Aircraft: return st->airport_tile; -- cgit v1.2.3-54-g00ecf