We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93bf67a commit b0af254Copy full SHA for b0af254
Server/Components/NPCs/NPC/npc.cpp
@@ -2572,9 +2572,8 @@ void NPC::tick(Microseconds elapsed, TimePoint now)
2572
}
2573
else if (moving_)
2574
{
2575
- // Update target position to player's current position
2576
- targetPosition_ = currentPlayerPos;
2577
- lastMove_ = now;
+ // Update target position to player's current position and recall move for angle update too
+ move(currentPlayerPos, followMoveType_, followMoveSpeed_, followStopRange_);
2578
2579
2580
0 commit comments