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/projectile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/projectile.cpp') diff --git a/src/projectile.cpp b/src/projectile.cpp index de7b10e..e65222e 100644 --- a/src/projectile.cpp +++ b/src/projectile.cpp @@ -6,7 +6,6 @@ Projectile::Projectile(Vector2 const& dir, Vector2 const& pos) Projectile::~Projectile() {} -Projectile * -Projectile::getProjectile() { +Projectile* Projectile::getProjectile() { return (this); } -- cgit v1.2.3