From 465620a871e7da8d72d82a999eac8623570d13fd Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sat, 13 Sep 2025 00:37:10 -0300 Subject: add `MAX_DEPOTS` constant + enable assertions in debug mode --- src/cr.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cr.hh') diff --git a/src/cr.hh b/src/cr.hh index 6617c76..c4034e5 100644 --- a/src/cr.hh +++ b/src/cr.hh @@ -143,8 +143,8 @@ struct TPlayerData { int MurderTimestamps[20]; uint8 *Inventory; int InventorySize; - uint8 *Depot[9]; - int DepotSize[9]; + uint8 *Depot[MAX_DEPOTS]; + int DepotSize[MAX_DEPOTS]; uint32 AccountID; int Sex; char Name[30]; -- cgit v1.2.3