diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-05-27 16:26:01 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-05-27 16:26:01 +0200 |
commit | 8dc03eedfcf24be94f0255c0c9e055dbb83ea092 (patch) | |
tree | 4b032f5b17df8da8acb2e41de99afc78a3bcebe2 /src/weapon.hpp | |
parent | update readme (diff) | |
download | threshold-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 '')
-rw-r--r-- | src/weapon.hpp | 2 |
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(); |