[7609] Trailing whitespace cleaning

Here we are again! "git diff --check" !!

Signed-off-by: freghar <compmancz@gmail.com>
This commit is contained in:
freghar 2009-04-03 16:43:24 +02:00
parent 99fe98169a
commit 0fc68c5e1e
11 changed files with 16 additions and 16 deletions

View file

@ -1185,17 +1185,17 @@ void AchievementMgr::SetCriteriaProgress(AchievementCriteriaEntry const* entry,
{
case PROGRESS_SET:
newValue = changeValue;
break;
break;
case PROGRESS_ACCUMULATE:
{
// avoid overflow
uint32 max_value = std::numeric_limits<uint32>::max();
newValue = max_value - progress->counter > changeValue ? progress->counter + changeValue : max_value;
break;
break;
}
case PROGRESS_HIGHEST:
newValue = progress->counter < changeValue ? changeValue : progress->counter;
break;
break;
}
// not update (not mark as changed) if counter will have same value