diff options
| author | maximius <none@none> | 2009-09-26 12:54:12 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-09-26 12:54:12 -0700 |
| commit | 9dfaa0289539b26318584486be387150519040c4 (patch) | |
| tree | 4eff09ad92bc7593e38508030ca97c6bf860a6b9 /src/game/Creature.cpp | |
| parent | 3416a6543d996aa0dda1f9cb5f9d4e4570a7fbb6 (diff) | |
*Remove some redundant code, and relocate some illogical code.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index f2b7669c59e..a7e5153e255 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -2007,7 +2007,7 @@ bool Creature::IsVisibleInGridForPlayer(Player const* pl) const // Live player (or with not release body see live creatures or death creatures with corpse disappearing time > 0 if(pl->isAlive() || pl->GetDeathTimer() > 0) { - if( GetEntry() == VISUAL_WAYPOINT && !pl->isGameMaster() ) + if( GetEntry() == VISUAL_WAYPOINT ) return false; return (isAlive() || m_deathTimer > 0 || (m_isDeadByDefault && m_deathState==CORPSE)); } |
