diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-15 14:48:35 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-15 14:48:35 +0000 |
commit | 19c2bd856eeb2ca240cbf4dc3c577d9363b2576e (patch) | |
tree | 94f654b3f371113071a25bc3087f402c894978a4 /src/map/status.c | |
parent | 0393c333d4333d59d4cdb5083a0d004b2de92cb6 (diff) | |
download | hercules-19c2bd856eeb2ca240cbf4dc3c577d9363b2576e.tar.gz hercules-19c2bd856eeb2ca240cbf4dc3c577d9363b2576e.tar.bz2 hercules-19c2bd856eeb2ca240cbf4dc3c577d9363b2576e.tar.xz hercules-19c2bd856eeb2ca240cbf4dc3c577d9363b2576e.zip |
- Fixed clif_send not sending packets to SELF when specifying AREA if the source is not on the map yet.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7180 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/map/status.c b/src/map/status.c index a26986316..7fc090dd1 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5162,13 +5162,8 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val break; } - if (sd) - { //Why must it be ONLY for players? [Skotlex] - if (bl->prev) + if (sd) //Only for players, client crashes if they receive this for a mob o.O [Skotlex] clif_status_change(bl,StatusIconChangeTable[type],1); - else - clif_status_load(bl,StatusIconChangeTable[type],1); - } // Set option as needed. opt_flag = 1; @@ -5627,12 +5622,7 @@ int status_change_end( struct block_list* bl , int type,int tid ) } if (sd) - { //Why must it be ONLY for players? [Skotlex] - if (bl->prev) clif_status_change(bl,StatusIconChangeTable[type],0); - else - clif_status_load(bl,StatusIconChangeTable[type],0); - } opt_flag = 1; switch(type){ |