From 7a0ec30b5444b9f07ddeaa6943edaf5bd02e0349 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 14 Jan 2022 16:40:11 +0100 Subject: enemy slingshot is functional --- src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/weapon.cpp') diff --git a/src/weapon.cpp b/src/weapon.cpp index a8553e3..4e56117 100644 --- a/src/weapon.cpp +++ b/src/weapon.cpp @@ -16,7 +16,7 @@ AWeapon::AWeapon(float const rg, double const& cd, const char* s, const char* r, - std::string const & nm) + std::string const& nm) : range(rg), damage(dmg), max(mag), cooldown(cd), name(nm) { shot = LoadSound(s); reload = LoadSound(r); -- cgit v1.2.3