summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-27 19:26:00 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-27 19:26:00 +0000
commite0e70276d5d0bf992d7327d4e2696da62c5a2237 (patch)
tree64c22e6404f611aea1420d19d5197207de9f8fcf /src/map/pc.c
parent5795eee87863dbdcc4133cd7e0a63d4fb5337bde (diff)
downloadhercules-e0e70276d5d0bf992d7327d4e2696da62c5a2237.tar.gz
hercules-e0e70276d5d0bf992d7327d4e2696da62c5a2237.tar.bz2
hercules-e0e70276d5d0bf992d7327d4e2696da62c5a2237.tar.xz
hercules-e0e70276d5d0bf992d7327d4e2696da62c5a2237.zip
Cleaned up a hack from r10112 (forward declaration does the trick)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10633 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 8692599f1..127020e1e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5506,7 +5506,7 @@ int pc_itemheal(struct map_session_data *sd,int itemid, int hp,int sp)
if (potion_flag > 1)
bonus += bonus*(potion_flag-1)*50/100;
//Item Group bonuses
- bonus += bonus*itemdb_group_bonus(sd->itemgrouphealrate, itemid)/100;
+ bonus += bonus*itemdb_group_bonus(sd, itemid)/100;
//Individual item bonuses.
for(i = 0; i < MAX_PC_BONUS && sd->itemhealrate[i].nameid; i++)
{