summaryrefslogtreecommitdiff
path: root/depot.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-05-21 13:51:36 +0000
committertron <tron@openttd.org>2006-05-21 13:51:36 +0000
commit3282efda88bd42c3536dc73c048f2a484e017ae1 (patch)
treea0f8f35f08e024362e9469a68b9d671758791404 /depot.h
parentde189080579e25c1da6120f53f3e2538ddf5480f (diff)
downloadopenttd-3282efda88bd42c3536dc73c048f2a484e017ae1.tar.xz
(svn r4940) Remove the dubious feature of remembering the last built depot. It serves no real purpose except causing confusion
Diffstat (limited to 'depot.h')
-rw-r--r--depot.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/depot.h b/depot.h
index 136a180af..19d21ebbf 100644
--- a/depot.h
+++ b/depot.h
@@ -60,10 +60,6 @@ static inline uint16 GetServiceIntervalClamped(uint index)
return (_patches.servint_ispercent) ? clamp(index, MIN_SERVINT_PERCENT, MAX_SERVINT_PERCENT) : clamp(index, MIN_SERVINT_DAYS, MAX_SERVINT_DAYS);
}
-VARDEF TileIndex _last_built_train_depot_tile;
-VARDEF TileIndex _last_built_road_depot_tile;
-VARDEF TileIndex _last_built_aircraft_depot_tile;
-VARDEF TileIndex _last_built_ship_depot_tile;
/**
* Check if a depot really exists.