diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-05 22:23:10 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-05 22:23:10 +0100 |
commit | 63f9cf175480c8f5c41ca4a7fbd350053932c96d (patch) | |
tree | e4994686599f1fa7150b9b7e1877f632582bc6e8 /src/weapon.cpp | |
parent | reload works (diff) | |
download | threshold-63f9cf175480c8f5c41ca4a7fbd350053932c96d.tar.gz threshold-63f9cf175480c8f5c41ca4a7fbd350053932c96d.tar.bz2 threshold-63f9cf175480c8f5c41ca4a7fbd350053932c96d.tar.xz threshold-63f9cf175480c8f5c41ca4a7fbd350053932c96d.tar.zst threshold-63f9cf175480c8f5c41ca4a7fbd350053932c96d.zip |
longer shotty range, add hit function which does not work
Diffstat (limited to '')
-rw-r--r-- | src/weapon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapon.cpp b/src/weapon.cpp index 507c5b3..ad94605 100644 --- a/src/weapon.cpp +++ b/src/weapon.cpp @@ -18,7 +18,7 @@ Weapon::Weapon(float const & rg, unsigned int const & dmg, const char *s, const reload = LoadSound(r); SetSoundVolume(shot, 0.3f); SetSoundVolume(reload, 0.3f); - max = barrel = 5; + max = barrel = 10; } Weapon::~Weapon() {} |