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_shotty.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wp_shotty.cpp') diff --git a/src/wp_shotty.cpp b/src/wp_shotty.cpp index f314e54..08f7b71 100644 --- a/src/wp_shotty.cpp +++ b/src/wp_shotty.cpp @@ -9,6 +9,8 @@ wp_shotty::wp_shotty(const char* s, const char* r) : AWeapon(100.0f, 3, 10, 0.5, s, r, "shotty", false) {} +wp_shotty::~wp_shotty() {} + int wp_shotty::bang(std::vector* enemies, Entity* player) { if (barrel == 0 || GetTime() < (t + cooldown)) { return (1); -- cgit v1.2.3