Skip to content

Commit

Permalink
-Internal: Compilation fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r committed May 13, 2023
1 parent 037172b commit 929ac86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions playerbot/WorldPosition.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "SpellMgr.h"
#include "PlayerbotAIConfig.h"
#include "MemoryMonitor.h"
#include "World.h"

class ByteBuffer;

Expand Down
2 changes: 1 addition & 1 deletion playerbot/strategy/actions/MovementActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ bool MovementAction::FlyDirect(WorldPosition &startPosition, WorldPosition &endP
sPlayerbotAIConfig.log("bot_movement.csv", out.str().c_str());
}

if (totalDistance > maxDist && !detailedMove && !ai->HasPlayerNearby(&movePosition)) //Why walk if you can fly?
if (totalDistance > maxDist && !detailedMove && !ai->HasPlayerNearby(movePosition)) //Why walk if you can fly?
{
time_t now = time(0);

Expand Down

0 comments on commit 929ac86

Please sign in to comment.