Removed unwanted VirtualHooks remnants.
cEntity no longer needs its SpawnOn() default-implemented, it can now be a true pure virtual function.
This commit is contained in:
parent
16e3242456
commit
c565950e1f
@ -276,9 +276,8 @@ public:
|
|||||||
|
|
||||||
/** Descendants override this function to send a command to the specified client to spawn the entity on the client.
|
/** 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()
|
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
|
// tolua_begin
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user