- wacky vc++ compile bugfix, code was changed in other header files and now std::max fails!
This commit is contained in:
parent
654de490c2
commit
3dac5df814
|
@ -1516,7 +1516,7 @@ void UnitUpdater::updateMorph(Unit *unit){
|
|||
break;
|
||||
case pfRoutePlanner:
|
||||
if (needMapUpdate) {
|
||||
int size = std::max(oldSize, unit->getType()->getSize());
|
||||
int size = max(oldSize, unit->getType()->getSize());
|
||||
world->getCartographer()->updateMapMetrics(unit->getPos(), size);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user