aboutsummaryrefslogtreecommitdiff
path: root/src/game/ArenaTeam.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 23:56:35 +0200
committerSpp <none@none>2010-04-07 23:56:35 +0200
commit46f0674e237dd8fe97ba4f0769e18b4adfce841b (patch)
tree4556d27751077c2ed37a445493ed93a4d08e981b /src/game/ArenaTeam.cpp
parent2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (diff)
Code Style (game + scripts only):
">=" --> " >= " (when needed) " >=" --> " >=" ">= " --> ">= " "<=" --> " <= " (when needed) " <=" --> " <=" "<= " --> "<= " " ==" --> " ==" "== " --> "== " --HG-- branch : trunk
Diffstat (limited to 'src/game/ArenaTeam.cpp')
-rw-r--r--src/game/ArenaTeam.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/ArenaTeam.cpp b/src/game/ArenaTeam.cpp
index 065a8ed8289..23e97be8dcb 100644
--- a/src/game/ArenaTeam.cpp
+++ b/src/game/ArenaTeam.cpp
@@ -46,7 +46,7 @@ ArenaTeam::ArenaTeam()
m_stats.games_week = 0;
m_stats.games_season = 0;
m_stats.rank = 0;
- if (sWorld.getConfig(CONFIG_ARENA_START_RATING)>=0)
+ if (sWorld.getConfig(CONFIG_ARENA_START_RATING) >= 0)
m_stats.rating = sWorld.getConfig(CONFIG_ARENA_START_RATING);
else if (sWorld.getConfig(CONFIG_ARENA_SEASON_ID) >= 6)
m_stats.rating = 0;
@@ -518,7 +518,7 @@ uint32 ArenaTeam::GetPoints(uint32 MemberRating)
uint32 rating = MemberRating + 150 < m_stats.rating ? MemberRating : m_stats.rating;
- if (rating<=1500)
+ if (rating <= 1500)
{
if (sWorld.getConfig(CONFIG_ARENA_SEASON_ID) < 5)
points = (float)rating * 0.22f + 14.0f;