summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-06 08:08:44 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:19 +0300
commit33637291b910b99b1c753a0b0ae4ccefc792a8a9 (patch)
tree6c9c0162369f1814b9105e85ac4e600efde453ac /src
parentc519bdf342478ed539445fca6c909d7f35c7ec83 (diff)
downloadhercules-33637291b910b99b1c753a0b0ae4ccefc792a8a9.tar.gz
hercules-33637291b910b99b1c753a0b0ae4ccefc792a8a9.tar.bz2
hercules-33637291b910b99b1c753a0b0ae4ccefc792a8a9.tar.xz
hercules-33637291b910b99b1c753a0b0ae4ccefc792a8a9.zip
Update packet packet_unit_walking.
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/packets_struct.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 74bda42fb..0e5765cfc 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1369,7 +1369,7 @@ static void clif_set_unit_walking(struct block_list *bl, struct map_session_data
p.weapon = vd->weapon;
p.accessory = vd->head_bottom;
p.moveStartTime = (unsigned int)timer->gettick();
-#if PACKETVER < 7
+#if PACKETVER < 7 || PACKETVER_RE_NUM >= 20180704
p.shield = vd->shield;
#endif
p.accessory2 = vd->head_top;
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 1b36fc8b1..573215530 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -735,6 +735,9 @@ struct packet_unit_walking {
#else
int32 weapon;
#endif
+#if PACKETVER_RE_NUM >= 20180704
+ int32 shield;
+#endif
int16 accessory;
uint32 moveStartTime;
#if PACKETVER < 7