aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 19:13:19 +0200
committerSpp <none@none>2010-04-07 19:13:19 +0200
commit2e127f7a30706dc1d40c65de22ff02851732da24 (patch)
tree91f7e8033e9296fdd8dbb2d5a761c9980cc36f18 /src/game/Pet.cpp
parent182e9a20b107c0d824e8a0bd1cf8f7eceb2b4ce5 (diff)
Code style (game + scripts only):
"while(" --> "while (" --HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index a56a8b40406..25cef895e51 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -707,7 +707,7 @@ void Pet::GivePetXP(uint32 xp)
uint32 newXP = curXP + xp;
// Check how much XP the pet should receive, and hand off have any left from previous levelups
- while( newXP >= nextLvlXP && level < sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL) )
+ while ( newXP >= nextLvlXP && level < sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL) )
{
// Subtract newXP from amount needed for nextlevel
newXP -= nextLvlXP;