Core/Game: Code style again.

Signed-off-by: Gyx <[email protected]>
This commit is contained in:
Gyx
2012-03-28 20:00:29 +08:00
parent 72cdcbfced
commit 1544b208da
20 changed files with 233 additions and 137 deletions
@@ -102,7 +102,8 @@ uint32 GetItemEnchantMod(int32 entry)
{
fCount += ench_iter->chance;
if (fCount > dRoll) return ench_iter->ench;
if (fCount > dRoll)
return ench_iter->ench;
}
//we could get here only if sum of all enchantment chances is lower than 100%
@@ -113,7 +114,8 @@ uint32 GetItemEnchantMod(int32 entry)
{
fCount += ench_iter->chance;
if (fCount > dRoll) return ench_iter->ench;
if (fCount > dRoll)
return ench_iter->ench;
}
return 0;