diff options
author | linencloth <none@none> | 2010-11-16 01:13:04 +0100 |
---|---|---|
committer | linencloth <none@none> | 2010-11-16 01:13:04 +0100 |
commit | 8fae0c176d73a1606f26a5b0d7fc44f7a23ba49c (patch) | |
tree | 5504659fc056351c6ed350368afc7ea0a9d1a5db /src/server/scripts/EasternKingdoms/duskwood.cpp | |
parent | 57c76407b05a919bad20008ffbfc1590a044d2ad (diff) |
Core/Units: Rename and change Get/SetVisibility to use a bool value instead of an unnecessary enum
Also replace some SetVisibility hacks to directly call UpdateObjectVisibility
--HG--
branch : trunk
Diffstat (limited to 'src/server/scripts/EasternKingdoms/duskwood.cpp')
-rw-r--r-- | src/server/scripts/EasternKingdoms/duskwood.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/duskwood.cpp b/src/server/scripts/EasternKingdoms/duskwood.cpp index cbc4c45b70c..49591f7b18f 100644 --- a/src/server/scripts/EasternKingdoms/duskwood.cpp +++ b/src/server/scripts/EasternKingdoms/duskwood.cpp @@ -46,7 +46,7 @@ public: if (Unit* CorrupterSpeaker = pPlayer->SummonCreature(1,pPlayer->GetPositionX(),pPlayer->GetPositionY(),pPlayer->GetPositionZ()-1,0,TEMPSUMMON_TIMED_DESPAWN,15000)) { CorrupterSpeaker->SetName("Twilight Corrupter"); - CorrupterSpeaker->SetVisibility(VISIBILITY_ON); + CorrupterSpeaker->SetVisible(true); CorrupterSpeaker->MonsterYell("Come, $N. See what the Nightmare brings...",0,pPlayer->GetGUID()); } } |