aboutsummaryrefslogtreecommitdiffstats
path: root/src/wp_assaultrifle.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-05-27 16:26:01 +0200
committersalaaad2 <arthurdurant263@gmail.com>2022-05-27 16:26:01 +0200
commit8dc03eedfcf24be94f0255c0c9e055dbb83ea092 (patch)
tree4b032f5b17df8da8acb2e41de99afc78a3bcebe2 /src/wp_assaultrifle.cpp
parentupdate readme (diff)
downloadthreshold-8dc03eedfcf24be94f0255c0c9e055dbb83ea092.tar.gz
threshold-8dc03eedfcf24be94f0255c0c9e055dbb83ea092.tar.bz2
threshold-8dc03eedfcf24be94f0255c0c9e055dbb83ea092.tar.xz
threshold-8dc03eedfcf24be94f0255c0c9e055dbb83ea092.tar.zst
threshold-8dc03eedfcf24be94f0255c0c9e055dbb83ea092.zip
less leaks and effective-c++-compatible
Diffstat (limited to 'src/wp_assaultrifle.cpp')
-rw-r--r--src/wp_assaultrifle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wp_assaultrifle.cpp b/src/wp_assaultrifle.cpp
index f985d78..24b4c21 100644
--- a/src/wp_assaultrifle.cpp
+++ b/src/wp_assaultrifle.cpp
@@ -9,6 +9,8 @@
wp_assaultrifle::wp_assaultrifle(const char* s, const char* r)
: AWeapon(300.0f, 1, 30, 0.0, s, r, "ar", false) {}
+wp_assaultrifle::~wp_assaultrifle() {}
+
int wp_assaultrifle::bang(std::vector<Entity>* enemies, Entity* player) {
if (barrel == 0) {
return (1);