diff options
author | rubidium <rubidium@openttd.org> | 2010-08-19 20:58:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-19 20:58:30 +0000 |
commit | 1fa98e169529b070c19a6bc0cff311ebc993b468 (patch) | |
tree | 6cd7011fc2faece6a110096a49f95ad5290c6e66 /src/vehicle_base.h | |
parent | cc658392ebef76ca21efc7c3ab1aaaa93c50448e (diff) | |
download | openttd-1fa98e169529b070c19a6bc0cff311ebc993b468.tar.xz |
(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index ea7d70bae..5b562db17 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -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 */ |