diff options
author | Spp <none@none> | 2010-04-07 17:24:07 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 17:24:07 +0200 |
commit | f490ad5ac259712e323f0a52e608ff1383b2fc41 (patch) | |
tree | 1bbe00973a622672eccf3450f302f7cb3bc33882 /src/game/Player.cpp | |
parent | 502fc82fb822e4245aff0530d22c013daa5d3de9 (diff) |
Code Style: tab to spaces
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 1a1bffa4b0a..1e629a9fb1a 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -8762,7 +8762,7 @@ void Player::SendInitWorldStates(uint32 zoneid, uint32 areaid) break; case 3703: // Shattrath City case 4384: // Strand of the Ancients - if (bg && bg->GetTypeID() == BATTLEGROUND_SA) + if (bg && bg->GetTypeID() == BATTLEGROUND_SA) bg->FillInitialWorldStates(data); else { @@ -20107,7 +20107,7 @@ bool Player::canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList, bool // player see other player with stealth/invisibility only if he in same group or raid or same team (raid/team case dependent from conf setting) if(!m_mover->canDetectInvisibilityOf(u)) - if(!(u->GetTypeId() == TYPEID_PLAYER && !IsHostileTo(u) && IsGroupVisibleFor(const_cast<Player*>(u->ToPlayer() )))) + if(!(u->GetTypeId() == TYPEID_PLAYER && !IsHostileTo(u) && IsGroupVisibleFor(const_cast<Player*>(u->ToPlayer() )))) return false; } @@ -20120,7 +20120,7 @@ bool Player::canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList, bool if(!isAlive()) detect = false; if(m_DetectInvTimer < 300 || !HaveAtClient(u)) - if(!(u->GetTypeId() == TYPEID_PLAYER && !IsHostileTo(u) && IsGroupVisibleFor(const_cast<Player*>(u->ToPlayer())))) + if(!(u->GetTypeId() == TYPEID_PLAYER && !IsHostileTo(u) && IsGroupVisibleFor(const_cast<Player*>(u->ToPlayer())))) if(!detect || !m_mover->canDetectStealthOf(u, GetDistance(u))) return false; } |