From a9dd834853966a4b7421cc643c30ad9996f6b039 Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 14 Jan 2008 19:13:16 +0000 Subject: * 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 --- src/map/skill.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/map/skill.c') 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: -- cgit v1.2.3-70-g09d2