From a051af4cf12da129475881a4c2992d003d4444d8 Mon Sep 17 00:00:00 2001 From: Cydh Ramdh Date: Thu, 3 Jul 2014 19:58:14 +0700 Subject: [PATCH] Bugfixed, bugreport:9085. Wrong var in SP_ADD_ITEMGROUP_HEAL_RATE statement. Signed-off-by: Cydh Ramdh --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/pc.c b/src/map/pc.c index e782e87319..2e6e46baec 100755 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3388,7 +3388,7 @@ void pc_bonus2(struct map_session_data *sd,int type,int type2,int val) break; case SP_ADD_ITEMGROUP_HEAL_RATE: { - if (!type2 || !itemdb_group_exists(type)) { + if (!type2 || !itemdb_group_exists(type2)) { ShowError("pc_bonus2: SP_ADD_ITEMGROUP_HEAL_RATE Invalid item group with id %d\n", type2); break; }