Add requested changes to support future MaNGOS wotlk build

This commit is contained in:
Rochet2
2017-02-16 18:15:38 +02:00
parent 924b1baab3
commit a4a6ee2233
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ typedef ThreatContainer::StorageType ThreatList;
#define SPELL_AURA_MOD_KILL_XP_PCT SPELL_AURA_MOD_XP_PCT
#endif
#ifdef WOTLK
#if defined(WOTLK) && !defined(MANGOS)
#define UNIT_BYTE2_FLAG_SANCTUARY UNIT_BYTE2_FLAG_SUPPORTABLE
#endif

View File

@@ -2177,7 +2177,7 @@ namespace LuaUnit
float maxHeight = Eluna::CHECKVAL<float>(L, 6);
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);
#else
Position pos(x, y, z);