aboutsummaryrefslogtreecommitdiffstats
path: root/src/weapon.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/weapon.hpp')
-rw-r--r--src/weapon.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapon.hpp b/src/weapon.hpp
index 5e8fde4..dcd4005 100644
--- a/src/weapon.hpp
+++ b/src/weapon.hpp
@@ -42,7 +42,7 @@ class AWeapon {
const char* r, // reload sound path
std::string const& nm, // name
bool const& hasProj); // projectiles ? yea/nay
- ~AWeapon();
+ virtual ~AWeapon();
virtual int bang(std::vector<Entity>* enemies, Entity* player) = 0;
void refill();