summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c11
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;