summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-04-15 18:53:08 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-04-15 18:53:08 +0200
commit708d247c982c7a95620723e520c718afd2058690 (patch)
treeb8e6c0d7ecc2a4766ed0fce67e14424b52de1838 /src
parentweapon cosmetic fix (diff)
downloadre3-708d247c982c7a95620723e520c718afd2058690.tar
re3-708d247c982c7a95620723e520c718afd2058690.tar.gz
re3-708d247c982c7a95620723e520c718afd2058690.tar.bz2
re3-708d247c982c7a95620723e520c718afd2058690.tar.lz
re3-708d247c982c7a95620723e520c718afd2058690.tar.xz
re3-708d247c982c7a95620723e520c718afd2058690.tar.zst
re3-708d247c982c7a95620723e520c718afd2058690.zip
Diffstat (limited to '')
-rw-r--r--src/weapons/Weapon.cpp31
1 files changed, 15 insertions, 16 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp
index b0c9b61f..fbd25f81 100644
--- a/src/weapons/Weapon.cpp
+++ b/src/weapons/Weapon.cpp
@@ -30,23 +30,22 @@
#include "WeaponInfo.h"
#include "World.h"
-uint16 gReloadSampleTime[WEAPONTYPE_TOTAL_INVENTORY_WEAPONS] =
+uint16 gReloadSampleTime[WEAPONTYPE_LAST_WEAPONTYPE] =
{
- 0, // UNARMED
- 0, // BASEBALLBAT
- 250, // COLT45
- 400, // UZI
- 650, // SHOTGUN
- 300, // AK47
- 300, // M16
- 423, // SNIPERRIFLE
- 400, // ROCKETLAUNCHER
- 0, // FLAMETHROWER
- 0, // MOLOTOV
- 0, // GRENADE
- 0, // DETONATOR
-
- 0 // WEAPONTYPE_HELICANNON
+ 0, // UNARMED
+ 0, // BASEBALLBAT
+ 250, // COLT45
+ 400, // UZI
+ 650, // SHOTGUN
+ 300, // AK47
+ 300, // M16
+ 423, // SNIPERRIFLE
+ 400, // ROCKETLAUNCHER
+ 0, // FLAMETHROWER
+ 0, // MOLOTOV
+ 0, // GRENADE
+ 0, // DETONATOR
+ 0 // HELICANNON
};
CWeaponInfo *