summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-14 19:13:16 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-14 19:13:16 +0000
commita9dd834853966a4b7421cc643c30ad9996f6b039 (patch)
tree32983448f8498c02f29733bf3995b6752077c050 /src/map/skill.c
parent05bff4bc98f620ae2f037028b72c11caddb6ac3f (diff)
downloadhercules-a9dd834853966a4b7421cc643c30ad9996f6b039.tar.gz
hercules-a9dd834853966a4b7421cc643c30ad9996f6b039.tar.bz2
hercules-a9dd834853966a4b7421cc643c30ad9996f6b039.tar.xz
hercules-a9dd834853966a4b7421cc643c30ad9996f6b039.zip
* Client packet corrections
- 0x01df is not 'gmreqnochatcount', but for requesting a player's account name via right-click menu (which currently can't be done) - added /remove and /recall, aliases to /shift and /summon - added /changemaptype, which alters a single cell's gat type - gm kick will no longer exit the client (now it goes to the login screen) - removed the quicksort invocation in /ignore code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12076 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 1377748e0..64df3a4e8 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6423,14 +6423,7 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
if( map_getcell(src->m,ux,uy,CELL_CHKWALL) || map_getcell(src->m,ux,uy,CELL_CHKCLIFF) )
alive=0;
else
- {
- struct block_list bl;
- bl.type = BL_NUL;
- bl.m = src->m;
- bl.x = ux;
- bl.y = uy;
- clif_changemapcell(0,&bl,5,AREA);
- }
+ clif_changemapcell(0,src->m,ux,uy,5,AREA);
}
if(alive){
@@ -7251,7 +7244,7 @@ static int skill_unit_ondelete (struct skill_unit *src, unsigned int tick)
case UNT_ICEWALL:
// hack to prevent client from leaving cells unwalkable
//FIXME: this should be done individually in insight/outsight code instead [ultramage]
- clif_changemapcell(0,&src->bl,src->val2,ALL_SAMEMAP);
+ clif_changemapcell(0,src->bl.m,src->bl.x,src->bl.y,src->val2,ALL_SAMEMAP);
break;
case UNT_ANKLESNARE: