Skip to content

Commit c4a0dba

Browse files
committed
NPC_PathHasNextPoint & NPC_GetPathNextPoint
1 parent 4dd3689 commit c4a0dba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Server/Components/Pawn/Scripting/NPC/Natives.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,12 +464,12 @@ SCRIPT_API(NPC_IsValidPath, bool(int pathId))
464464
return PawnManager::Get()->npcs->isValidPath(pathId);
465465
}
466466

467-
SCRIPT_API(NPC_HasNextPoint, bool(int pathId))
467+
SCRIPT_API(NPC_PathHasNextPoint, bool(int pathId))
468468
{
469469
return PawnManager::Get()->npcs->hasNextPoint(pathId);
470470
}
471471

472-
SCRIPT_API(NPC_GetNextPoint, bool(int pathId, Vector3& position, float& stopRange))
472+
SCRIPT_API(NPC_GetPathNextPoint, bool(int pathId, Vector3& position, float& stopRange))
473473
{
474474
return PawnManager::Get()->npcs->getNextPoint(pathId, position, stopRange);
475475
}

0 commit comments

Comments
 (0)