summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-02-27 00:50:15 +0100
committerHaru <haru@dotalux.com>2014-02-27 00:50:15 +0100
commit5cbbcedd588b7eaad2df99f1a2cf9648b8d9ea64 (patch)
treeadf37e62fa892bc3b1b87900c6fe014ce803250d /src/map
parenta68b55c926eadc5f0cb7edcaf23bae5d2e0f282d (diff)
downloadhercules-5cbbcedd588b7eaad2df99f1a2cf9648b8d9ea64.tar.gz
hercules-5cbbcedd588b7eaad2df99f1a2cf9648b8d9ea64.tar.bz2
hercules-5cbbcedd588b7eaad2df99f1a2cf9648b8d9ea64.tar.xz
hercules-5cbbcedd588b7eaad2df99f1a2cf9648b8d9ea64.zip
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 <haru@dotalux.com>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c6
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