From f17873a56f76ccbab082522e28a71962ea2aa2fe Mon Sep 17 00:00:00 2001 From: "Hercules.ws" Date: Mon, 8 Dec 2014 22:48:23 +0100 Subject: HPM Hooks Update Signed-off-by: HerculesWSAPI --- src/map/clif.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2