summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-22 08:51:40 +0200
committermadmaxoft <github@xoft.cz>2013-08-22 08:51:40 +0200
commitc565950e1fd336e08bda35c26cb9b8983681fd60 (patch)
tree60d984717b78ffc73a52ed284e0b4e6528547163
parentAnother fix for #31. (diff)
downloadcuberite-c565950e1fd336e08bda35c26cb9b8983681fd60.tar
cuberite-c565950e1fd336e08bda35c26cb9b8983681fd60.tar.gz
cuberite-c565950e1fd336e08bda35c26cb9b8983681fd60.tar.bz2
cuberite-c565950e1fd336e08bda35c26cb9b8983681fd60.tar.lz
cuberite-c565950e1fd336e08bda35c26cb9b8983681fd60.tar.xz
cuberite-c565950e1fd336e08bda35c26cb9b8983681fd60.tar.zst
cuberite-c565950e1fd336e08bda35c26cb9b8983681fd60.zip
-rw-r--r--source/Entities/Entity.h3
1 files changed, 1 insertions, 2 deletions
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