summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-03 05:29:55 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-03 05:29:55 +0000
commit833c646ee7b1c67e8a4ec03ef2c83cf89805063c (patch)
tree03e277e57d7cd2b8a57c7223e21a9b60e53c6695 /src/map/battle.c
parent2896718b7f4663abec0aa0a795018efd86bc58b2 (diff)
downloadhercules-833c646ee7b1c67e8a4ec03ef2c83cf89805063c.tar.gz
hercules-833c646ee7b1c67e8a4ec03ef2c83cf89805063c.tar.bz2
hercules-833c646ee7b1c67e8a4ec03ef2c83cf89805063c.tar.xz
hercules-833c646ee7b1c67e8a4ec03ef2c83cf89805063c.zip
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
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
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 ) {