summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-17 16:53:27 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-17 17:05:23 +0200
commite465cea07b791cf5fa76d5416cfd33dabaf3702f (patch)
treeb9d8dbf6c7a932765be6906cdb4806639bdb22e2 /src/control/Pickups.h
parentPickup save/load (diff)
downloadre3-e465cea07b791cf5fa76d5416cfd33dabaf3702f.tar
re3-e465cea07b791cf5fa76d5416cfd33dabaf3702f.tar.gz
re3-e465cea07b791cf5fa76d5416cfd33dabaf3702f.tar.bz2
re3-e465cea07b791cf5fa76d5416cfd33dabaf3702f.tar.lz
re3-e465cea07b791cf5fa76d5416cfd33dabaf3702f.tar.xz
re3-e465cea07b791cf5fa76d5416cfd33dabaf3702f.tar.zst
re3-e465cea07b791cf5fa76d5416cfd33dabaf3702f.zip
Diffstat (limited to '')
-rw-r--r--src/control/Pickups.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Pickups.h b/src/control/Pickups.h
index 9fa90549..6c3045f7 100644
--- a/src/control/Pickups.h
+++ b/src/control/Pickups.h
@@ -118,9 +118,9 @@ public:
static CPickup *FindPickUpForThisObject(CEntity*);
};
-extern uint16 AmmoForWeapon[20];
-extern uint16 AmmoForWeapon_OnStreet[WEAPONTYPE_TOTALWEAPONS];
-extern uint16 CostOfWeapon[20];
+extern uint16 AmmoForWeapon[WEAPONTYPE_TOTALWEAPONS + 1];
+extern uint16 AmmoForWeapon_OnStreet[WEAPONTYPE_TOTALWEAPONS + 1];
+extern uint16 CostOfWeapon[WEAPONTYPE_TOTALWEAPONS + 3];
enum ePacmanPickupType
{