aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 17:24:07 +0200
committerSpp <none@none>2010-04-07 17:24:07 +0200
commitf490ad5ac259712e323f0a52e608ff1383b2fc41 (patch)
tree1bbe00973a622672eccf3450f302f7cb3bc33882 /src/game/Unit.h
parent502fc82fb822e4245aff0530d22c013daa5d3de9 (diff)
Code Style: tab to spaces
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 88db4527727..a827f1681c8 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1852,7 +1852,7 @@ class Unit : public WorldObject
static Creature* GetCreature(WorldObject& object, uint64 guid);
MotionMaster* GetMotionMaster(){ return &i_motionMaster; }
-
+
bool IsStopped() const { return !(hasUnitState(UNIT_STAT_MOVING)); }
void StopMoving();
@@ -1958,7 +1958,7 @@ class Unit : public WorldObject
virtual bool isBeingLoaded() const { return false;}
Pet* ToPet(){ if(isPet()) return reinterpret_cast<Pet*>(this); else return NULL; }
- Totem* ToTotem(){ if(isTotem()) return reinterpret_cast<Totem*>(this); else return NULL; }
+ Totem* ToTotem(){ if(isTotem()) return reinterpret_cast<Totem*>(this); else return NULL; }
TempSummon* ToTempSummon() { if(isSummon()) return reinterpret_cast<TempSummon*>(this); else return NULL; }
const TempSummon* ToTempSummon() const { if(isSummon()) return reinterpret_cast<const TempSummon*>(this); else return NULL; }