aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-07 13:38:58 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-07 13:38:58 +0100
commit24cbda44818cf3a866685638ef6cdbf466a1fb1a (patch)
tree1b3d12e3e39ba1635c183bb1a69fbc82da10f888 /src/weapon.cpp
parentVERSION 0.0.5 AND A HALF (diff)
downloadthreshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.tar.gz
threshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.tar.bz2
threshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.tar.xz
threshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.tar.zst
threshold-24cbda44818cf3a866685638ef6cdbf466a1fb1a.zip
add new weapon, AR and add switching weapons
Diffstat (limited to '')
-rw-r--r--src/weapon.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/weapon.cpp b/src/weapon.cpp
index f357b40..f7426d6 100644
--- a/src/weapon.cpp
+++ b/src/weapon.cpp
@@ -13,7 +13,6 @@
AWeapon::AWeapon(float const & rg, unsigned int const & dmg, unsigned int const & mag, const char *s, const char *r) :
range(rg), damage(dmg), max(mag)
{
- InitAudioDevice();
shot = LoadSound(s);
reload = LoadSound(r);
SetSoundVolume(shot, 0.3f);