From c565950e1fd336e08bda35c26cb9b8983681fd60 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Thu, 22 Aug 2013 08:51:40 +0200 Subject: Removed unwanted VirtualHooks remnants. cEntity no longer needs its SpawnOn() default-implemented, it can now be a true pure virtual function. --- source/Entities/Entity.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/Entities') diff --git a/source/Entities/Entity.h b/source/Entities/Entity.h index 820405cb9..7a070a5dd 100644 --- a/source/Entities/Entity.h +++ b/source/Entities/Entity.h @@ -276,9 +276,8 @@ public: /** Descendants override this function to send a command to the specified client to spawn the entity on the client. To spawn on all eligible clients, use cChunkMap::BroadcastSpawnEntity() - Needs to have a default implementation due to Lua bindings. */ - virtual void SpawnOn(cClientHandle & a_Client) {ASSERT(!"SpawnOn() unimplemented!"); } + virtual void SpawnOn(cClientHandle & a_Client) = 0; // tolua_begin -- cgit v1.2.3