minor fix

This commit is contained in:
KayenEQ authored and Arthur Ice committed 2014-07-08 21:09:55 -07:00
1 parent 042f6f3789
commit 4672f223c1
1 file changed
+5 -1
+5 -1
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;
}