summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-14 06:29:35 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-14 06:29:35 +0000
commit05ebaf88bbcf323ef1c3778a05af7fe565b6534c (patch)
tree45ee5409cda42e43a87331407579c60fb8f00e24 /src/map/status.c
parent1e0fdfa946da8bad031495ed3e72a7492bd8d17f (diff)
downloadhercules-05ebaf88bbcf323ef1c3778a05af7fe565b6534c.tar.gz
hercules-05ebaf88bbcf323ef1c3778a05af7fe565b6534c.tar.bz2
hercules-05ebaf88bbcf323ef1c3778a05af7fe565b6534c.tar.xz
hercules-05ebaf88bbcf323ef1c3778a05af7fe565b6534c.zip
* Corrected compiler warning and error made from r12959 and r12953, respectively. [SketchyPhoenix]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12954 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
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)
{