Code style (game + scripts only):
"while(" --> "while ("
--HG--
branch : trunk
This commit is contained in:
1 parent
182e9a20b1
commit
2e127f7a30
74 files changed
+230
-230
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user