(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future

This commit is contained in:
rubidium
2010-08-19 20:58:30 +00:00
parent bbafd249ca
commit bd5be9a942
6 changed files with 15 additions and 7 deletions

View File

@@ -53,7 +53,8 @@ struct VehicleCache {
uint32 cached_var43; ///< Cache for NewGRF var 43
};
typedef Pool<Vehicle, VehicleID, 512, 64000> VehiclePool;
/** A vehicle pool for a little over 1 million vehicles. */
typedef Pool<Vehicle, VehicleID, 512, 0xFF000> VehiclePool;
extern VehiclePool _vehicle_pool;
/* Some declarations of functions, so we can make them friendly */