Revert "replace all std::min/std::max with just min/max"

This reverts commit 28d967ccce.
This commit is contained in:
Ahmed Samy
2013-11-13 23:53:54 +02:00
parent 28d967ccce
commit 1711d8bdaf
19 changed files with 58 additions and 58 deletions

View File

@@ -664,7 +664,7 @@ bool Game::dashWalk(Otc::Direction direction)
m_localPlayer->stopAutoWalk();
}
if(m_localPlayer->isWalking() && m_dashTimer.ticksElapsed() < max<int>(m_localPlayer->getStepDuration(false, direction) - m_ping, 30))
if(m_localPlayer->isWalking() && m_dashTimer.ticksElapsed() < std::max<int>(m_localPlayer->getStepDuration(false, direction) - m_ping, 30))
return false;
Position toPos = m_localPlayer->getPosition().translatedToDirection(direction);