diff options
author | _manuel_ <none@none> | 2010-01-02 19:52:08 -0300 |
---|---|---|
committer | _manuel_ <none@none> | 2010-01-02 19:52:08 -0300 |
commit | 0e18bc37c2e391baf540d78126d8f05ec9573f63 (patch) | |
tree | 2ffbe4aff25964cfb188651d1caae979bff0cc96 /src/game | |
parent | 421189a3cb18ac8aeefbbcab00f37b2415003a8c (diff) |
Removed moveflags column from creature_addon and creature_template_addon. Thanks to Zor and raczman.
--HG--
branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/Creature.cpp | 6 | ||||
-rw-r--r-- | src/game/Creature.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 22a5d82c1b0..818e01bb396 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1967,12 +1967,6 @@ bool Creature::LoadCreaturesAddon(bool reload) if (cainfo->emote != 0) SetUInt32Value(UNIT_NPC_EMOTESTATE, cainfo->emote); - if (cainfo->move_flags != 0) - SetUnitMovementFlags(cainfo->move_flags); - - if (cainfo->move_flags & (MOVEMENTFLAG_FLY_MODE | MOVEMENTFLAG_FLYING)) - sLog.outErrorDb("Creature (GUID: %u Entry: %u) has improper `moveflags` value in `creature_template_addon`. Use `InhabitType` = 4 (Flying) in `creature_template`, not MOVEMENTFLAG_FLY_MODE or MOVEMENTFLAG_FLYING in `creature_template_addon`.",GetGUIDLow(),GetEntry()); - //Load Path if (cainfo->path_id != 0) m_path_id = cainfo->path_id; diff --git a/src/game/Creature.h b/src/game/Creature.h index b3e3a8a4555..efe77737dcd 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -253,7 +253,6 @@ struct CreatureDataAddon uint32 bytes1; uint32 bytes2; uint32 emote; - uint32 move_flags; CreatureDataAddonAura const* auras; // loaded as char* "spell1 eff1 spell2 eff2 ... " }; |