summaryrefslogtreecommitdiff
path: root/src/map/clif.c
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/clif.c
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/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4e4e5ab8c..e9c69257b 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -22125,7 +22125,7 @@ static void clif_camera_showWindow(struct map_session_data *sd)
#if PACKETVER >= 20160525
nullpo_retv(sd);
struct PACKET_ZC_CAMERA_INFO p;
- p.packetType = 0xa78;
+ p.packetType = HEADER_ZC_CAMERA_INFO;
p.action = 1;
p.range = 0;
p.rotation = 0;
@@ -22139,7 +22139,7 @@ static void clif_camera_change(struct map_session_data *sd, float range, float r
#if PACKETVER >= 20160525
nullpo_retv(sd);
struct PACKET_ZC_CAMERA_INFO p;
- p.packetType = 0xa78;
+ p.packetType = HEADER_ZC_CAMERA_INFO;
p.action = 0;
p.range = range;
p.rotation = rotation;