(svn r22023) -Fix: verify we can allocate a CargoPacket and CargoPayment before we actually try to do so
-Codechange: increase the limit of number of CargoPayments to match the limit of Vehicles (Rubidium)
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
#include "cargopacket.h"
|
||||
#include "company_type.h"
|
||||
|
||||
/** Type of pool to store cargo payments in. */
|
||||
typedef Pool<CargoPayment, CargoPaymentID, 512, 64000> CargoPaymentPool;
|
||||
/** Type of pool to store cargo payments in; little over 1 million. */
|
||||
typedef Pool<CargoPayment, CargoPaymentID, 512, 0xFF000> CargoPaymentPool;
|
||||
/** The actual pool to store cargo payments in. */
|
||||
extern CargoPaymentPool _cargo_payment_pool;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user