summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 230c1662c..b2e680b93 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11856,7 +11856,7 @@ int clif_parse(int fd) {
}
} else {
// check authentification packet to know packet version
- err = clif_guess_PacketVer(fd, 0, &packet_ver);
+ packet_ver = clif_guess_PacketVer(fd, 0, &err);
if (err || // unknown packet version
packet_ver < 5 || // reject really old client versions
(packet_ver <= 9 && (battle_config.packet_ver_flag & 1) == 0) || // older than 6sept04