From 8dc03eedfcf24be94f0255c0c9e055dbb83ea092 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 27 May 2022 16:26:01 +0200 Subject: less leaks and effective-c++-compatible --- src/wp_assaultrifle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wp_assaultrifle.hpp') 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* enemies, Entity* player); Projectile const& getProjectile() const; -- cgit v1.2.3