Merge pull request #85 from vexyl/fix1

Fix for healing unconscious players.
This commit is contained in:
Michael Cook 2013-10-26 14:13:00 -07:00
commit b4068823ed

View File

@ -3646,8 +3646,8 @@ void Mob::CommonDamage(Mob* attacker, int32 &damage, const uint16 spell_id, cons
void Mob::HealDamage(uint32 amount, Mob* caster) {
uint32 maxhp = GetMaxHP();
uint32 curhp = GetHP();
int32 maxhp = GetMaxHP();
int32 curhp = GetHP();
uint32 acthealed = 0;
if(caster && amount > 0)