minor fix

This commit is contained in:
KayenEQ committed 2014-07-01 04:55:50 -04:00
1 parent c412038db8
commit 3b8993a302
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;
}