summaryrefslogtreecommitdiffstats
path: root/src/weapons/WeaponInfo.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-24 17:25:53 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-24 17:25:53 +0200
commite4f136344cff39f30ca795ba0032d8f348cbf52e (patch)
tree018327f24b5bb38ac27d7c2918a141a2fb05e346 /src/weapons/WeaponInfo.h
parentMerge branch 'master' into opus (diff)
parentall my fixes live in exes (diff)
downloadre3-e4f136344cff39f30ca795ba0032d8f348cbf52e.tar
re3-e4f136344cff39f30ca795ba0032d8f348cbf52e.tar.gz
re3-e4f136344cff39f30ca795ba0032d8f348cbf52e.tar.bz2
re3-e4f136344cff39f30ca795ba0032d8f348cbf52e.tar.lz
re3-e4f136344cff39f30ca795ba0032d8f348cbf52e.tar.xz
re3-e4f136344cff39f30ca795ba0032d8f348cbf52e.tar.zst
re3-e4f136344cff39f30ca795ba0032d8f348cbf52e.zip
Diffstat (limited to 'src/weapons/WeaponInfo.h')
-rw-r--r--src/weapons/WeaponInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/weapons/WeaponInfo.h b/src/weapons/WeaponInfo.h
index b5882082..c89dd482 100644
--- a/src/weapons/WeaponInfo.h
+++ b/src/weapons/WeaponInfo.h
@@ -5,13 +5,13 @@
class CWeaponInfo {
// static CWeaponInfo(&ms_apWeaponInfos)[14];
- static CWeaponInfo ms_apWeaponInfos[14];
+ static CWeaponInfo ms_apWeaponInfos[WEAPONTYPE_LAST_WEAPONTYPE];
public:
eWeaponFire m_eWeaponFire;
float m_fRange;
uint32 m_nFiringRate;
uint32 m_nReload;
- uint32 m_nAmountofAmmunition;
+ int32 m_nAmountofAmmunition;
uint32 m_nDamage;
float m_fSpeed;
float m_fRadius;