summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/clif.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 71feaa05c..d3564f97d 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -17722,13 +17722,13 @@ void clif_parse_CashShopReqTab(int fd, struct map_session_data *sd) {
WFIFOSET(fd, 10 + ( clif->cs.item_count[tab] * 6 ));
}
/* [Ind/Hercules] */
-void clif_maptypeproperty2(struct block_list *bl,enum send_target t) {
-#if PACKETVER >= 20121010
- struct packet_maptypeproperty2 p;
- struct map_session_data *sd = BL_CAST(BL_PC, bl);
-
- p.PacketType = maptypeproperty2Type;
- p.type = 0x28;
+void clif_maptypeproperty2(struct block_list *bl,enum send_target t) {
+#if PACKETVER >= 20121010
+ struct packet_maptypeproperty2 p;
+ struct map_session_data *sd = BL_CAST(BL_PC, bl);
+
+ p.PacketType = maptypeproperty2Type;
+ p.type = 0x28;
p.flag.party = map->list[bl->m].flag.pvp ? 1 : 0;
p.flag.guild = (map->list[bl->m].flag.battleground || map_flag_gvg(bl->m)) ? 1 : 0;
p.flag.siege = (map->list[bl->m].flag.battleground || map_flag_gvg2(bl->m)) ? 1: 0;