summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-16 05:17:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-16 06:20:22 +0300
commita0f8fc8cd4a4bd6e245848835db2775596b9362f (patch)
treead8f03439fee3795f7c023a8db85bd62e3364ed3 /src/map/packets_struct.h
parent08d9a2d55e4e5fb067b3f615a6c203cbff77f44e (diff)
downloadhercules-a0f8fc8cd4a4bd6e245848835db2775596b9362f.tar.gz
hercules-a0f8fc8cd4a4bd6e245848835db2775596b9362f.tar.bz2
hercules-a0f8fc8cd4a4bd6e245848835db2775596b9362f.tar.xz
hercules-a0f8fc8cd4a4bd6e245848835db2775596b9362f.zip
Update packet ZC_CAMERA_INFO to new format.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 9b82d82b9..8fbe64e5f 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2896,6 +2896,7 @@ struct PACKET_ZC_REMOVE_EFFECT {
uint32 effectId;
} __attribute__((packed));
+#if PACKETVER >= 20160525
struct PACKET_ZC_CAMERA_INFO {
int16 packetType;
int8 action;
@@ -2903,6 +2904,8 @@ struct PACKET_ZC_CAMERA_INFO {
float rotation;
float latitude;
} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_CAMERA_INFO, 0x0a78);
+#endif
#if PACKETVER_MAIN_NUM >= 20181128 || PACKETVER_RE_NUM >= 20181031
// PACKET_ZC_AUTOSPELLLIST2