aboutsummaryrefslogtreecommitdiff
path: root/src/cr.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-09-13 00:37:10 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-09-13 00:39:31 -0300
commit465620a871e7da8d72d82a999eac8623570d13fd (patch)
treed66a0d17556630e88730488b5223823adef19b03 /src/cr.hh
parent16f2e00b055c8356a7e80fa3b92e7df5a5c89a4c (diff)
downloadgame-465620a871e7da8d72d82a999eac8623570d13fd.tar.gz
game-465620a871e7da8d72d82a999eac8623570d13fd.zip
add `MAX_DEPOTS` constant + enable assertions in debug mode
Diffstat (limited to 'src/cr.hh')
-rw-r--r--src/cr.hh4
1 files changed, 2 insertions, 2 deletions
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];