From 833c646ee7b1c67e8a4ec03ef2c83cf89805063c Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 3 May 2012 05:29:55 +0000 Subject: Fixed bugreport:5643 Wall of Thorns should now deal damage properly as well as lock the trapped character in. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16064 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 18759c790..b14bb6f33 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -317,7 +317,7 @@ int battle_attr_fix(struct block_list *src, struct block_list *target, int damag int x,y; if( !su || !su->alive || (sg = su->group) == NULL || !sg || sg->val3 == -1 || - (src = map_id2bl(su->val2)) == NULL || status_isdead(src) ) + (src = map_id2bl(sg->src_id)) == NULL || status_isdead(src) ) return 0; if( sg->unit_id != UNT_FIREWALL ) { -- cgit v1.2.3-60-g2f50