diff options
-rw-r--r-- | src/map/clif.c | 6 |
1 files 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 |