mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Revert "replace all std::min/std::max with just min/max"
This reverts commit 28d967ccce
.
This commit is contained in:
@@ -101,8 +101,8 @@ void Tile::draw(const Point& dest, float scaleFactor, int drawFlags, LightView *
|
||||
thing->draw(dest - m_drawElevation*scaleFactor, scaleFactor, animate, lightView);
|
||||
|
||||
if(thing->isLyingCorpse()) {
|
||||
redrawPreviousTopW = max(thing->getWidth(), redrawPreviousTopW);
|
||||
redrawPreviousTopH = max(thing->getHeight(), redrawPreviousTopH);
|
||||
redrawPreviousTopW = std::max(thing->getWidth(), redrawPreviousTopW);
|
||||
redrawPreviousTopH = std::max(thing->getHeight(), redrawPreviousTopH);
|
||||
}
|
||||
|
||||
m_drawElevation += thing->getElevation();
|
||||
|
Reference in New Issue
Block a user