diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-23 04:32:38 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-23 04:32:38 +0000 |
commit | c73b9c6444ee0d7d9f91cce676c370b55ca234b7 (patch) | |
tree | f6e3c5c42e9455ec277fe210cfc491500b760307 /src/map/skill.c | |
parent | f3bad5a9c57a123b9ae3f3070ef4edaa2f08698b (diff) | |
download | hercules-c73b9c6444ee0d7d9f91cce676c370b55ca234b7.tar.gz hercules-c73b9c6444ee0d7d9f91cce676c370b55ca234b7.tar.bz2 hercules-c73b9c6444ee0d7d9f91cce676c370b55ca234b7.tar.xz hercules-c73b9c6444ee0d7d9f91cce676c370b55ca234b7.zip |
Fixed bugreport:1017 a item dropping over a ice-wall-occupied cell is no longer lost/deleted.
Dev Note: the thing I added to sign icewalls may be suitable for bugreport:3574 as well
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15772 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index e9a3ab61d..d1699f4ae 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -13216,6 +13216,7 @@ struct skill_unit *skill_initunit (struct skill_unit_group *group, int idx, int case WZ_ICEWALL: map_setgatcell(unit->bl.m,unit->bl.x,unit->bl.y,5); clif_changemapcell(0,unit->bl.m,unit->bl.x,unit->bl.y,5,AREA); + skill_unitsetmapcell(unit,WZ_ICEWALL,group->skill_lv,CELL_ICEWALL,true); break; case SA_LANDPROTECTOR: skill_unitsetmapcell(unit,SA_LANDPROTECTOR,group->skill_lv,CELL_LANDPROTECTOR,true); @@ -13270,6 +13271,7 @@ int skill_delunit (struct skill_unit* unit) case WZ_ICEWALL: map_setgatcell(unit->bl.m,unit->bl.x,unit->bl.y,unit->val2); clif_changemapcell(0,unit->bl.m,unit->bl.x,unit->bl.y,unit->val2,ALL_SAMEMAP); // hack to avoid clientside cell bug + skill_unitsetmapcell(unit,WZ_ICEWALL,group->skill_lv,CELL_ICEWALL,false); break; case SA_LANDPROTECTOR: skill_unitsetmapcell(unit,SA_LANDPROTECTOR,group->skill_lv,CELL_LANDPROTECTOR,false); |