summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2014-12-08 22:48:23 +0100
committerHerculesWSAPI <Hercules@efficiently.awesome>2014-12-08 22:48:23 +0100
commitf17873a56f76ccbab082522e28a71962ea2aa2fe (patch)
tree05ca1a7b582e7713e494a0bab510c8bdb73b7c66
parent75444c75ec0e5507640aef91933d94aa87fc7e09 (diff)
downloadhercules-f17873a56f76ccbab082522e28a71962ea2aa2fe.tar.gz
hercules-f17873a56f76ccbab082522e28a71962ea2aa2fe.tar.bz2
hercules-f17873a56f76ccbab082522e28a71962ea2aa2fe.tar.xz
hercules-f17873a56f76ccbab082522e28a71962ea2aa2fe.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
-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;