mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Update waypoints.cpp
Fixed log message to be correct.
This commit is contained in:
parent
daa9c04e89
commit
d47bf6a73b
@ -159,7 +159,7 @@ void NPC::PauseWandering(int pausetime)
|
|||||||
if (GetGrid() != 0) {
|
if (GetGrid() != 0) {
|
||||||
moving = false;
|
moving = false;
|
||||||
DistractedFromGrid = true;
|
DistractedFromGrid = true;
|
||||||
LogPathing("Paused Wandering requested. Grid [{}]. Resuming in [{}] ms (0=not until told)", GetGrid(), pausetime);
|
LogPathing("Paused Wandering requested. Grid [{}]. Resuming in [{}] seconds (0=not until told)", GetGrid(), pausetime);
|
||||||
StopNavigation();
|
StopNavigation();
|
||||||
if (pausetime < 1) { // negative grid number stops him dead in his tracks until ResumeWandering()
|
if (pausetime < 1) { // negative grid number stops him dead in his tracks until ResumeWandering()
|
||||||
SetGrid(0 - GetGrid());
|
SetGrid(0 - GetGrid());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user