mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Add requested changes to support future MaNGOS wotlk build
This commit is contained in:
@@ -128,7 +128,7 @@ typedef ThreatContainer::StorageType ThreatList;
|
|||||||
#define SPELL_AURA_MOD_KILL_XP_PCT SPELL_AURA_MOD_XP_PCT
|
#define SPELL_AURA_MOD_KILL_XP_PCT SPELL_AURA_MOD_XP_PCT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WOTLK
|
#if defined(WOTLK) && !defined(MANGOS)
|
||||||
#define UNIT_BYTE2_FLAG_SANCTUARY UNIT_BYTE2_FLAG_SUPPORTABLE
|
#define UNIT_BYTE2_FLAG_SANCTUARY UNIT_BYTE2_FLAG_SUPPORTABLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -2177,7 +2177,7 @@ namespace LuaUnit
|
|||||||
float maxHeight = Eluna::CHECKVAL<float>(L, 6);
|
float maxHeight = Eluna::CHECKVAL<float>(L, 6);
|
||||||
uint32 id = Eluna::CHECKVAL<uint32>(L, 7, 0);
|
uint32 id = Eluna::CHECKVAL<uint32>(L, 7, 0);
|
||||||
|
|
||||||
#if defined(CMANGOS) && defined(WOTLK)
|
#if (defined(CMANGOS) || defined(MANGOS)) && defined(WOTLK)
|
||||||
unit->GetMotionMaster()->MoveJump(x, y, z, zSpeed, maxHeight, id);
|
unit->GetMotionMaster()->MoveJump(x, y, z, zSpeed, maxHeight, id);
|
||||||
#else
|
#else
|
||||||
Position pos(x, y, z);
|
Position pos(x, y, z);
|
||||||
|
|||||||
Reference in New Issue
Block a user