mirror of
https://github.com/edubart/otclient.git
synced 2025-12-02 16:06:51 +01:00
Disable path find debugging
This commit is contained in:
@@ -210,10 +210,13 @@ bool LocalPlayer::autoWalk(const Position& destination)
|
||||
m_autoWalkDestination = destination;
|
||||
m_lastAutoWalkPosition = m_position.translatedToDirections(limitedPath).back();
|
||||
|
||||
/*
|
||||
// debug calculated path using minimap
|
||||
for(auto pos : m_position.translatedToDirections(limitedPath)) {
|
||||
g_map.getOrCreateTile(pos)->overwriteMinimapColor(215);
|
||||
g_map.notificateTileUpdate(pos);
|
||||
}
|
||||
*/
|
||||
|
||||
g_game.autoWalk(limitedPath);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user