- wacky vc++ compile bugfix, code was changed in other header files and now std::max fails!

This commit is contained in:
Mark Vejvoda 2011-01-15 00:29:25 +00:00
parent 654de490c2
commit 3dac5df814

View File

@ -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;