summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-30 23:33:41 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-30 23:33:41 +0200
commit887a260a6e638ef5281f6619ff6c1019f26412bd (patch)
tree8441808cc9b490abfd08410d1b2c038a2f5686b1
parent1cccfca3dd708354bf808068c1210ce353957f2e (diff)
downloadhercules-887a260a6e638ef5281f6619ff6c1019f26412bd.tar.gz
hercules-887a260a6e638ef5281f6619ff6c1019f26412bd.tar.bz2
hercules-887a260a6e638ef5281f6619ff6c1019f26412bd.tar.xz
hercules-887a260a6e638ef5281f6619ff6c1019f26412bd.zip
Make mineffect flag not being affected by sd->state.lesseffect in clif_maptypeproperty2()
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index a0ec1fdf6..b7eacd4a2 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -20439,7 +20439,7 @@ static void clif_maptypeproperty2(struct block_list *bl, enum send_target t)
p.flag.party = map->list[bl->m].flag.pvp ? 1 : 0; //PARTY
p.flag.guild = (map->list[bl->m].flag.battleground || map_flag_gvg(bl->m)) ? 1 : 0; // GUILD
p.flag.siege = (map->list[bl->m].flag.battleground || map_flag_gvg2(bl->m)) ? 1: 0; // SIEGE
- p.flag.mineffect = map_flag_gvg(bl->m) ? 1 : ( (sd && sd->state.lesseffect) ? 1 : 0); // USE_SIMPLE_EFFECT - Forcing /mineffect in castles during WoE (probably redundant? I'm not sure)
+ p.flag.mineffect = map_flag_gvg2(bl->m) ? 1 : 0; // USE_SIMPLE_EFFECT - Automatically enable /mineffect in guild arenas and castles.
p.flag.nolockon = 0; // DISABLE_LOCKON - TODO
p.flag.countpk = map->list[bl->m].flag.pvp ? 1 : 0; // COUNT_PK
p.flag.nopartyformation = map->list[bl->m].flag.partylock ? 1 : 0; // NO_PARTY_FORMATION