aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
author_manuel_ <manue.l@live.com.ar>2010-05-23 22:17:01 -0300
committer_manuel_ <manue.l@live.com.ar>2010-05-23 22:17:01 -0300
commitb6add13f9e69048aa2e812a1f9920bbc3a069f26 (patch)
tree64817170f74acbc3138373532e98651176ffb3a0 /src/game/SpellEffects.cpp
parent8460168e5f40646d280f4dfae5c1277012ba0ef4 (diff)
Fixed checks for Disarm Trap, thanks to Spp.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 0c779050db0..81a01592eca 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3398,7 +3398,7 @@ void Spell::EffectOpenLock(uint32 effIndex)
bg->EventPlayerClickedOnFlag(player, gameObjTarget);
return;
}
- }else if (gameObjTarget->GetGOInfo()->type == GAMEOBJECT_TYPE_TRAP && gameObjTarget->GetOwner())
+ }else if (m_spellInfo->Id == 1842 && gameObjTarget->GetGOInfo()->type == GAMEOBJECT_TYPE_TRAP && gameObjTarget->GetOwner())
{
gameObjTarget->SetLootState(GO_JUST_DEACTIVATED);
return;