Fixed warnings when EXTRA_LOGS are off

This commit is contained in:
Yehonal
2017-09-25 10:54:21 +02:00
parent e687d223ff
commit dcdddf658b
11 changed files with 25 additions and 13 deletions

View File

@@ -553,7 +553,7 @@ public:
//When casting resuruction make sure to delay so on rez when reinstate battle deepsleep runs out
if (Wait_Timer <= diff)
{
if (Creature* mograine = ObjectAccessor::GetCreature(*me, instance->GetData64(DATA_MOGRAINE)))
if (ObjectAccessor::GetCreature(*me, instance->GetData64(DATA_MOGRAINE)))
{
DoCast(SPELL_SCARLET_RESURRECTION);
Talk(SAY_WH_RESURRECT);