summaryrefslogtreecommitdiff
path: root/src/cargopacket.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-19 20:58:30 +0000
committerrubidium <rubidium@openttd.org>2010-08-19 20:58:30 +0000
commit1fa98e169529b070c19a6bc0cff311ebc993b468 (patch)
tree6cd7011fc2faece6a110096a49f95ad5290c6e66 /src/cargopacket.h
parentcc658392ebef76ca21efc7c3ab1aaaa93c50448e (diff)
downloadopenttd-1fa98e169529b070c19a6bc0cff311ebc993b468.tar.xz
(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r--src/cargopacket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargopacket.h b/src/cargopacket.h
index dfd5e72d9..77f656bcf 100644
--- a/src/cargopacket.h
+++ b/src/cargopacket.h
@@ -23,8 +23,8 @@
typedef uint32 CargoPacketID;
struct CargoPacket;
-/** Type of the pool for cargo packets. */
-typedef Pool<CargoPacket, CargoPacketID, 1024, 1048576, true, false> CargoPacketPool;
+/** Type of the pool for cargo packets for a little over 16 million packets. */
+typedef Pool<CargoPacket, CargoPacketID, 1024, 0xFFF000, true, false> CargoPacketPool;
/** The actual pool with cargo packets */
extern CargoPacketPool _cargopacket_pool;