Skip to content

Commit 54ff5bc

Browse files
committed
TC Retail: Adjust method for changed core call
1 parent 208ebb7 commit 54ff5bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

methods/TrinityCore/UnitMethods.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,11 @@ namespace LuaUnit
20812081

20822082
Position pos(x, y, z);
20832083

2084+
#if ELUNA_EXPANSION < EXP_RETAIL
20842085
unit->GetMotionMaster()->MoveJump(pos, zSpeed, maxHeight, id);
2086+
#else
2087+
unit->GetMotionMaster()->MoveJump(id, pos, zSpeed, {}, maxHeight);
2088+
#endif
20852089
return 0;
20862090
}
20872091

0 commit comments

Comments
 (0)