Merge plus changed getposition to return a reference

This commit is contained in:
KimLS
2015-01-24 11:48:06 -08:00
19 changed files with 2173 additions and 2213 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ public:
((static_cast<float>(cur_mana) / max_mana) * 100); }
virtual int32 CalcMaxMana();
uint32 GetNPCTypeID() const { return npctype_id; }
inline const glm::vec4 GetPosition() const { return m_Position; }
inline const glm::vec4& GetPosition() const { return m_Position; }
inline const float GetX() const { return m_Position.x; }
inline const float GetY() const { return m_Position.y; }
inline const float GetZ() const { return m_Position.z; }