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_enemyslingshot.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wp_enemyslingshot.cpp') diff --git a/src/wp_enemyslingshot.cpp b/src/wp_enemyslingshot.cpp index 2a212d6..3aa7d4b 100644 --- a/src/wp_enemyslingshot.cpp +++ b/src/wp_enemyslingshot.cpp @@ -10,6 +10,8 @@ wp_enemysling::wp_enemysling(const char* s, const char* r) : AWeapon(300.0f, 10, 10, 0.0, s, r, "sling", false) {} +wp_enemysling::~wp_enemysling() {} + int wp_enemysling::bang(std::vector* enemies, Entity* baddie) { if (barrel == 0) { return (1); -- cgit v1.2.3