diff --git a/source/simulation/Entity.h b/source/simulation/Entity.h index 3dc574fef2..e5786a715a 100755 --- a/source/simulation/Entity.h +++ b/source/simulation/Entity.h @@ -151,10 +151,10 @@ public: void Tick(); // Store the player associated with this entity - void SetPlayer(CPlayer *pPlayer); + inline void SetPlayer(CPlayer *pPlayer); // Retrieve the player associated with this entity - CPlayer* GetPlayer() { return m_player; } + inline CPlayer* GetPlayer() { return m_player; } // Process damage void Damage( CDamageType& damage, CEntity* inflictor = NULL );