Eluna/Core Refactor code making LuaEngine.h lighter and splitting entities to their own files. Fixed reload crash for timed events
This commit is contained in:
@@ -376,7 +376,7 @@ namespace LuaCreature
|
||||
return 1;
|
||||
|
||||
if (targetType == SELECT_TARGET_NEAREST || targetType == SELECT_TARGET_FARTHEST)
|
||||
targetList.sort(Eluna::ObjectDistanceOrderPred(creature));
|
||||
targetList.sort(ElunaUtil::ObjectDistanceOrderPred(creature));
|
||||
|
||||
switch (targetType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user