mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 10:00:02 +01:00
Another Position comparison fix
This commit is contained in:
parent
0fccdf60f5
commit
7e2a87a7ea
@ -452,7 +452,7 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle,
|
||||
}
|
||||
|
||||
//Log bot movement
|
||||
if (sPlayerbotAIConfig->hasLog("bot_movement.csv") && lastMove.lastMoveShort != movePosition)
|
||||
if (sPlayerbotAIConfig->hasLog("bot_movement.csv") && lastMove.lastMoveShort.GetExactDist(movePosition) > 0.001)
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << sPlayerbotAIConfig->GetTimestampStr() << "+00,";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user