diff options
author | megamage <none@none> | 2009-03-18 20:46:21 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-18 20:46:21 -0600 |
commit | 249d0d53c0ec073f3b1f3366940a57c8563c3455 (patch) | |
tree | b818c01d87d418c13c49f88c346dd5cd0db838bb /src/game/GameObject.h | |
parent | ef47783882e609406f879856d2d3ce5ee865ec80 (diff) |
[7489] Update gameobject rotation fields if need. Author: VladimirMangos
* Fixed update absent in ".gobject turn" command
* Propetly set rotation fields for summoned objects
* Check rotation/coordinates fields values at server loading
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.h')
-rw-r--r-- | src/game/GameObject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h index 07f6c5a4362..89786d6b2d8 100644 --- a/src/game/GameObject.h +++ b/src/game/GameObject.h @@ -444,6 +444,8 @@ class TRINITY_DLL_SPEC GameObject : public WorldObject uint32 GetDBTableGUIDLow() const { return m_DBTableGuid; } + void UpdateRotationFields(float rotation2 = 0.0f, float rotation3 = 0.0f); + void Say(int32 textId, uint32 language, uint64 TargetGuid) { MonsterSay(textId,language,TargetGuid); } void Yell(int32 textId, uint32 language, uint64 TargetGuid) { MonsterYell(textId,language,TargetGuid); } void TextEmote(int32 textId, uint64 TargetGuid) { MonsterTextEmote(textId,TargetGuid); } |