Skip to content

Commit 9414a04

Browse files
committed
Check for naxx map id in slime check.
1 parent 83f928d commit 9414a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/Objects/Player.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@ void Player::OnMirrorTimerExpirationPulse(MirrorTimer::Type timer)
14401440
if (IsInMagma())
14411441
EnvironmentalDamage(DAMAGE_LAVA, urand(sWorld.getConfig(CONFIG_UINT32_ENVIRONMENTAL_DAMAGE_MIN), sWorld.getConfig(CONFIG_UINT32_ENVIRONMENTAL_DAMAGE_MAX)));
14421442
// FIXME: Need to skip slime damage in Undercity, maybe someone can find better way to handle environmental damage
1443-
if (IsInSlime() && m_zoneUpdateId != 1497)
1443+
if (IsInSlime() && GetMapId() == 533)
14441444
EnvironmentalDamage(DAMAGE_SLIME, urand(sWorld.getConfig(CONFIG_UINT32_ENVIRONMENTAL_DAMAGE_MIN), sWorld.getConfig(CONFIG_UINT32_ENVIRONMENTAL_DAMAGE_MAX)));
14451445
break;
14461446
case MirrorTimer::FEIGNDEATH:

0 commit comments

Comments
 (0)