diff options
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Entity.h | 2 | ||||
-rw-r--r-- | src/Entities/Player.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 94c1e681d..a8074406c 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -301,7 +301,7 @@ public: virtual bool DoTakeDamage(TakeDamageInfo & a_TDI); /** Returns the position stored before the last call to SetPosition. */ - auto GetLastPosition(void) const { return m_LastPosition; } + Vector3d GetLastPosition(void) const { return m_LastPosition; } // tolua_begin diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 988b5b326..c8e7b8297 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -235,7 +235,7 @@ public: // tolua_end /** Returns the SharedPtr to client handle associated with the player. */ - auto GetClientHandlePtr(void) const { return m_ClientHandle; } + std::weak_ptr<cClientHandle> GetClientHandlePtr(void) const { return m_ClientHandle; } // tolua_begin |