diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-04 19:12:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-04 19:12:37 +0300 |
commit | e47b40be9b351ed05b69ba23e065cc26625f7c67 (patch) | |
tree | ffe28a40a27f0e9051fbc904dded085bf61883fa /src/map/clif.c | |
parent | 1e32aa5e41593bf05645e4412c86d8f4a00dac75 (diff) | |
download | hercules-e47b40be9b351ed05b69ba23e065cc26625f7c67.tar.gz hercules-e47b40be9b351ed05b69ba23e065cc26625f7c67.tar.bz2 hercules-e47b40be9b351ed05b69ba23e065cc26625f7c67.tar.xz hercules-e47b40be9b351ed05b69ba23e065cc26625f7c67.zip |
Add script commands for show camera info window and change camera parameters.
New script commands: camerainfo, changecamera
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 152a72cee..1e9844f14 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -21935,7 +21935,7 @@ static void clif_camera_showWindow(struct map_session_data *sd) #endif } -static void clif_camera_change(struct map_session_data *sd, float range, float rotation, float latitude) +static void clif_camera_change(struct map_session_data *sd, float range, float rotation, float latitude, enum send_target target) { #if PACKETVER >= 20160525 struct PACKET_ZC_CAMERA_INFO p; @@ -21944,7 +21944,7 @@ static void clif_camera_change(struct map_session_data *sd, float range, float r p.range = range; p.rotation = rotation; p.latitude = latitude; - clif->send(&p, sizeof(p), &sd->bl, SELF); + clif->send(&p, sizeof(p), &sd->bl, target); #endif } |