aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-06-25 15:39:43 +0200
committerShauren <shauren.trinity@gmail.com>2011-06-25 15:39:43 +0200
commit7bdc090681fc1fd064517a065acdb6fcdafa2da2 (patch)
treef299b796ba397de17ddc8886184728f9fcf53b8c
parentb576be1b571430c9f6ff7364e099c9657bf3f384 (diff)
Core/GameObject: Removed useless typecast
-rwxr-xr-xsrc/server/game/Entities/GameObject/GameObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.h b/src/server/game/Entities/GameObject/GameObject.h
index 6634760fdfd..95be55e595e 100755
--- a/src/server/game/Entities/GameObject/GameObject.h
+++ b/src/server/game/Entities/GameObject/GameObject.h
@@ -774,7 +774,7 @@ class GameObject : public WorldObject, public GridObject<GameObject>
uint64 GetRotation() const { return m_rotation; }
virtual uint32 GetScriptId() const { return GetGOInfo()->ScriptId; }
- GameObjectAI* AI() const { return (GameObjectAI*)m_AI; }
+ GameObjectAI* AI() const { return m_AI; }
std::string GetAIName() const;
protected: