From f89ae203f0ab7d030ec5323c9317b7213333c0f1 Mon Sep 17 00:00:00 2001 From: JairKevick Date: Mon, 26 Feb 2018 00:33:06 -0300 Subject: [PATCH] Alterado para o andar diagonal igual da pxg usar junto com o pull do servidor --- src/client/creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/creature.cpp b/src/client/creature.cpp index 00d23d5..3095bf2 100644 --- a/src/client/creature.cpp +++ b/src/client/creature.cpp @@ -902,7 +902,7 @@ int Creature::getStepDuration(bool ignoreDiagonal, Otc::Direction dir) interval = std::max(interval, g_game.getServerBeat()); - if(!ignoreDiagonal && (m_lastStepDirection == Otc::NorthWest || m_lastStepDirection == Otc::NorthEast || + if((m_lastStepDirection == Otc::NorthWest || m_lastStepDirection == Otc::NorthEast || m_lastStepDirection == Otc::SouthWest || m_lastStepDirection == Otc::SouthEast)) interval *= factor;