From 5cbbcedd588b7eaad2df99f1a2cf9648b8d9ea64 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 27 Feb 2014 00:50:15 +0100 Subject: Follow-up to 37953d0 (fixes compile error) - Fixes bugreport:8058, thanks to ossi0110, KeiKun, Beret http://hercules.ws/board/tracker/issue-8058-compiling-error-latest-rev/ Signed-off-by: Haru --- src/map/clif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/map/clif.c b/src/map/clif.c index 5dad37357..5387f8fb8 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -5923,12 +5923,12 @@ void clif_wis_message(int fd, const char* nick, const char* mes, size_t mes_len) void clif_wis_end(int fd, int flag) { struct map_session_data *sd = session_isValid(fd) ? session[fd]->session_data : NULL; struct packet_wis_end p; - + if( !sd ) return; - + p.PacketType = wisendType; - p.flag = (char)flag; + p.result = (char)flag; #if PACKETVER >= 20131223 p.unknown = 0; #endif -- cgit v1.2.3-60-g2f50