diff --git a/src/LuaEngine/methods/CreatureMethods.h b/src/LuaEngine/methods/CreatureMethods.h index e0341ef..f96ad37 100644 --- a/src/LuaEngine/methods/CreatureMethods.h +++ b/src/LuaEngine/methods/CreatureMethods.h @@ -1174,7 +1174,7 @@ namespace LuaCreature */ int MoveWaypoint(lua_State* /*L*/, Creature* creature) { - creature->GetMotionMaster()->MovePath(creature->GetWaypointPath(), true); + creature->GetMotionMaster()->MoveWaypoint(creature->GetWaypointPath(), true); return 0; }