summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/pet.c1
-rw-r--r--src/map/status.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 5ddeb88e5..2926e57a6 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -26,6 +26,7 @@
#include "skill.h"
#include "unit.h"
#include "atcommand.h" // msg_txt()
+#include "log.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/map/status.c b/src/map/status.c
index e7030fe3b..aacdf2fc8 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7288,7 +7288,7 @@ static int status_natural_heal(struct block_list* bl, va_list args)
regen->tick.sp += natural_heal_diff_tick*(regen->rate.sp+bonus);
// Homun HP regen fix (they should regen as if they were sitting (twice as fast)
- if(bl->type==BL_HOM) regen->tick.p *=2;
+ if(bl->type==BL_HOM) regen->tick.sp *=2;
if(regen->tick.sp >= (unsigned int)battle_config.natural_healsp_interval)
{