diff options
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r-- | src/cargopacket.h | 4 |
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; |