aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-03 21:47:38 -0500
committermegamage <none@none>2009-06-03 21:47:38 -0500
commit37f4bf6a04564d0633c8e4fb04f112d5bc290f94 (patch)
tree6fc46e0e842f06247057ee8d014159a055217ec9 /src/game/ObjectMgr.cpp
parente858ac91eb62669abb086087d3c2516c3525b486 (diff)
*Fix the bug that triggers are visible.
--HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index a8073abbad0..f85d0db2c08 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -1128,13 +1128,14 @@ void ObjectMgr::LoadCreatures()
}
// I do not know why but in db most display id are not zero
- if(data.displayid == 11686)
+ /*if(data.displayid == 11686 || data.displayid == 24719)
{
(const_cast<CreatureInfo*>(cInfo))->flags_extra |= CREATURE_FLAG_EXTRA_TRIGGER;
}
else if(data.displayid == cInfo->Modelid_A1 || data.displayid == cInfo->Modelid_A2
|| data.displayid == cInfo->Modelid_H1 || data.displayid == cInfo->Modelid_H2)
data.displayid = 0;
+ */
if(data.equipmentId > 0) // -1 no equipment, 0 use default
{