revert code formatting mess to same as revision 2366. Change from 2367 will come without this mess with next checkin

This commit is contained in:
Titus Tscharntke 2011-06-23 23:28:39 +00:00
parent 1ea57853c5
commit 59136a3d95
1 changed files with 2 additions and 2 deletions

View File

@ -599,10 +599,10 @@ void UnitUpdater::unitBeingAttacked(std::pair<bool,Unit *> &result, const Unit *
if(distToUnit < 0 || unit->getCenteredPos().dist(enemy->getCenteredPos()) < distToUnit) {
distToUnit = unit->getCenteredPos().dist(enemy->getCenteredPos());
result.first = true;
result.second = enemy;
if( ast->getAttackRange()>=distToUnit)
{
result.first = true;
result.second = enemy;
break;
}
}