aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 18:09:10 +0200
committerSpp <none@none>2010-04-07 18:09:10 +0200
commitb27ce42704c33e292bda390265bb8fd01a433505 (patch)
tree29b2df222a2c1be3325e3d6fab75206100b578fd /src/game/Pet.cpp
parentf490ad5ac259712e323f0a52e608ff1383b2fc41 (diff)
Code Style: Remove trailing spaces
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 0657040e9fd..72271a75d7b 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -712,12 +712,12 @@ void Pet::GivePetXP(uint32 xp)
// Subtract newXP from amount needed for nextlevel
newXP -= nextLvlXP;
GivePetLevel(level+1);
- SetUInt32Value(UNIT_FIELD_PETNEXTLEVELEXP, objmgr.GetXPForLevel(level+1)*PET_XP_FACTOR);
+ SetUInt32Value(UNIT_FIELD_PETNEXTLEVELEXP, objmgr.GetXPForLevel(level+1)*PET_XP_FACTOR);
// Make sure we're working with the upgraded levels for the pet XP-levels
level = getLevel();
nextLvlXP = GetUInt32Value(UNIT_FIELD_PETNEXTLEVELEXP);
-
+
// Hitting the pet/playerlevel combolimitation, set UNIT_FIELD_PETEXPERIENCE (current XP) to 0
if ( level >= GetOwner()->getLevel() ) {
newXP = 0;