mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix mangos zero rel20 build for new changes
This commit is contained in:
@@ -558,17 +558,7 @@ namespace LuaUnit
|
|||||||
#ifdef TRINITY
|
#ifdef TRINITY
|
||||||
if (powerType == -1)
|
if (powerType == -1)
|
||||||
return unit->getPowerType();
|
return unit->getPowerType();
|
||||||
#endif
|
|
||||||
#ifdef MANGOS
|
|
||||||
#if (defined(WOTLK))
|
|
||||||
if (powerType == -1)
|
|
||||||
return unit->GetPowerType();
|
|
||||||
#else
|
#else
|
||||||
if (powerType == -1)
|
|
||||||
return unit->getPowerType();
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifdef CMANGOS
|
|
||||||
if (powerType == -1)
|
if (powerType == -1)
|
||||||
return unit->GetPowerType();
|
return unit->GetPowerType();
|
||||||
#endif
|
#endif
|
||||||
@@ -615,15 +605,7 @@ namespace LuaUnit
|
|||||||
{
|
{
|
||||||
#ifdef TRINITY
|
#ifdef TRINITY
|
||||||
Eluna::Push(L, unit->getPowerType());
|
Eluna::Push(L, unit->getPowerType());
|
||||||
#endif
|
|
||||||
#ifdef MANGOS
|
|
||||||
#if (defined(WOTLK))
|
|
||||||
Eluna::Push(L, unit->GetPowerType());
|
|
||||||
#else
|
#else
|
||||||
Eluna::Push(L, unit->getPowerType());
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifdef CMANGOS
|
|
||||||
Eluna::Push(L, unit->GetPowerType());
|
Eluna::Push(L, unit->GetPowerType());
|
||||||
#endif
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
@@ -940,15 +922,7 @@ namespace LuaUnit
|
|||||||
|
|
||||||
#ifdef TRINITY
|
#ifdef TRINITY
|
||||||
unit->setPowerType((Powers)type);
|
unit->setPowerType((Powers)type);
|
||||||
#endif
|
|
||||||
#ifdef MANGOS
|
|
||||||
#if (defined(WOTLK))
|
|
||||||
unit->SetPowerType((Powers)type);
|
|
||||||
#else
|
#else
|
||||||
unit->setPowerType((Powers)type);
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifdef CMANGOS
|
|
||||||
unit->SetPowerType((Powers)type);
|
unit->SetPowerType((Powers)type);
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user