minor fix

This commit is contained in:
KayenEQ 2014-07-01 04:55:50 -04:00
parent c412038db8
commit 3b8993a302

View File

@ -2294,7 +2294,11 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
#endif
//meh dupe issue with npc casting this
if(caster->IsClient()){
caster->WakeTheDead(spell_id, caster->GetTarget(), spells[spell_id].max[i]);
int dur = spells[spell_id].max[i];
if (!dur)
dur = 60;
caster->WakeTheDead(spell_id, caster->GetTarget(), dur);
}
break;
}