aboutsummaryrefslogtreecommitdiffstats
path: root/src/wp_assaultrifle.hpp
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.hpp
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.hpp')
-rw-r--r--src/wp_assaultrifle.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wp_assaultrifle.hpp b/src/wp_assaultrifle.hpp
index 9c66d91..02855df 100644
--- a/src/wp_assaultrifle.hpp
+++ b/src/wp_assaultrifle.hpp
@@ -14,7 +14,7 @@
class wp_assaultrifle : public AWeapon {
public:
wp_assaultrifle(const char* s, const char* r);
- ~wp_assaultrifle();
+ virtual ~wp_assaultrifle();
int bang(std::vector<Entity>* enemies, Entity* player);
Projectile const& getProjectile() const;