Typo cleanup! :/

--HG--
branch : trunk
This commit is contained in:
Rat
2010-10-17 22:00:40 +02:00
parent e9fffec5fb
commit b4c62b9646
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4408,7 +4408,7 @@ uint32 Unit::GetAuraCount(uint32 spellId) const
uint32 count = 0;
for (AuraApplicationMap::const_iterator itr = m_appliedAuras.lower_bound(spellId); itr != m_appliedAuras.upper_bound(spellId); ++itr)
{
if (itr->second->GetBase()->GetStackAmount())
if (!itr->second->GetBase()->GetStackAmount())
count++;
else
count += (uint32)itr->second->GetBase()->GetStackAmount();
+1 -1
View File
@@ -1454,7 +1454,7 @@ class Unit : public WorldObject
void JumpTo(float speedXY, float speedZ, bool forward = true);
void JumpTo(WorldObject *obj, float speedZ);
void SetFacing(float ori, WorldObject* obj);
void SetFacing(float ori, WorldObject* obj = NULL);
void SendMonsterStop(bool on_death = false);
void SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint32 Time, Player* player = NULL);
void SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint32 MoveFlags, uint32 time, float speedZ, Player *player = NULL);