From cb640ffea4a51a10db2e379ada8dc0487378ba09 Mon Sep 17 00:00:00 2001 From: bibo38 Date: Wed, 12 Oct 2016 14:38:45 +0200 Subject: Spectators added (#2852) --- src/Entities/Entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Entity.h') diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index c543fd9c1..4833f8b5c 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -429,7 +429,7 @@ public: cEntity * GetAttached(); /** Attaches to the specified entity; detaches from any previous one first */ - void AttachTo(cEntity * a_AttachTo); + virtual void AttachTo(cEntity * a_AttachTo); /** Detaches from the currently attached entity, if any */ virtual void Detach(void); -- cgit v1.2.3