summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-28 21:23:27 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-28 21:23:27 +0000
commit0c3055fdbf06b7ca736edaa63e9a414081cd847b (patch)
tree87a98d029f4e40bf38cca2011a7daec66255e708 /src/map/skill.c
parent2a97fa2a68d6b57c0674681452d41c0691c7763b (diff)
downloadhercules-0c3055fdbf06b7ca736edaa63e9a414081cd847b.tar.gz
hercules-0c3055fdbf06b7ca736edaa63e9a414081cd847b.tar.bz2
hercules-0c3055fdbf06b7ca736edaa63e9a414081cd847b.tar.xz
hercules-0c3055fdbf06b7ca736edaa63e9a414081cd847b.zip
- Fixed (?) the Family recall warp skills.
- Fixed pc_percentheal giving life when the rates are negative. - Fixed resetting stats losing the +52 bonus on high classes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5793 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 25deef213..aa93b5d1b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7276,10 +7276,10 @@ int skill_unit_onlimit(struct skill_unit *src,unsigned int tick)
case UNT_CALLFAMILY: /* ‚ ‚È‚½‚É?‚¢‚½‚¢ */
{
struct map_session_data *sd = NULL;
- if(src->val1 && (sd = map_charid2sd(src->val1))
+ if(sg->val1 && (sd = map_charid2sd(sg->val1))
&& !map[sd->bl.m].flag.nowarp)
pc_setpos(sd,map[src->bl.m].index,src->bl.x,src->bl.y,3);
- if(src->val2 && (sd = map_charid2sd(src->val2))
+ if(sg->val2 && (sd = map_charid2sd(sg->val2))
&& !map[sd->bl.m].flag.nowarp)
pc_setpos(sd,map[src->bl.m].index,src->bl.x,src->bl.y,3);
}