From 8fae0c176d73a1606f26a5b0d7fc44f7a23ba49c Mon Sep 17 00:00:00 2001 From: linencloth Date: Tue, 16 Nov 2010 01:13:04 +0100 Subject: 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 --- src/server/scripts/EasternKingdoms/duskwood.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/EasternKingdoms/duskwood.cpp') 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()); } } -- cgit v1.2.3