mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 04:37:04 +00:00
Some build errors fixed
Some build errors fixed
This commit is contained in:
parent
85cd456287
commit
3abc31c429
7 changed files with 107 additions and 5 deletions
|
|
@ -55,10 +55,10 @@ namespace LuaUnit
|
|||
int IsRooted(Eluna* /*E*/, lua_State* L, Unit* unit)
|
||||
{
|
||||
#ifdef TRINITY
|
||||
Eluna::Push(L, unit->isInRoots() || unit->HasUnitMovementFlag(MOVEMENTFLAG_ROOT));
|
||||
Eluna::Push(L, unit->IsInRoots() || unit->HasUnitMovementFlag(MOVEMENTFLAG_ROOT));
|
||||
#endif
|
||||
#ifdef CMANGOS
|
||||
Eluna::Push(L, unit->isInRoots() || unit->IsRooted());
|
||||
Eluna::Push(L, unit->IsInRoots() || unit->IsRooted());
|
||||
#endif
|
||||
#ifdef MANGOS
|
||||
Eluna::Push(L, unit->IsInRoots() || unit->IsRooted());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue