From 4ef47aed62364f9cf1474864e5cf94232b4477af Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Mon, 19 Dec 2016 20:12:23 +0000 Subject: Changed entity ownership model to use smart pointers --- src/Entities/Entity.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/Entities/Entity.h') diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 8991b9fad..8f433b816 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -157,7 +157,7 @@ public: /** Spawns the entity in the world; returns true if spawned, false if not (plugin disallowed). Adds the entity to the world. */ - virtual bool Initialize(cWorld & a_World); + virtual bool Initialize(OwnedEntity a_Self, cWorld & a_EntityWorld); // tolua_begin @@ -670,8 +670,6 @@ private: int m_InvulnerableTicks; } ; // tolua_export -typedef std::list cEntityList; - -- cgit v1.2.3