diff options
author | mc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-22 10:26:39 +0000 |
---|---|---|
committer | mc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-22 10:26:39 +0000 |
commit | 0113082fd5a64bb8787f52b293f0018b557b8452 (patch) | |
tree | 0ed3c8c117767a0e1f7ac0c493bf848e8e710549 /src/map/clif.c | |
parent | 1741d214fc89dbe02a704474740d92cd7e8618a2 (diff) | |
download | hercules-0113082fd5a64bb8787f52b293f0018b557b8452.tar.gz hercules-0113082fd5a64bb8787f52b293f0018b557b8452.tar.bz2 hercules-0113082fd5a64bb8787f52b293f0018b557b8452.tar.xz hercules-0113082fd5a64bb8787f52b293f0018b557b8452.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@311 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 9b5b16236..41cc4c13c 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7051,6 +7051,17 @@ int clif_specialeffect(struct block_list *bl, int type, int flag) { WBUFL(buf,2) = bl->id; WBUFL(buf,6) = type; + if (flag == 3) { +// struct map_session_data *sd; + struct map_session_data *pl_sd; + int i; + for(i = 0; i < fd_max; i++) { + if (session[i] && (pl_sd = session[i]->session_data) != NULL && + pl_sd->state.auth && + (pc_isGM((struct map_session_data *)&bl) > pc_isGM((struct map_session_data *)&pl_sd->bl))) + clif_specialeffect(&pl_sd->bl, type, 1); + } + } if (flag == 2) { struct map_session_data *sd; int i; |