summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-09-06 00:05:37 +0200
committerGitHub <noreply@github.com>2017-09-06 00:05:37 +0200
commitd8a0c96fb31af1d5e41705d159cea430d2e3af5d (patch)
treeed339d49a62b7a7f9296746096e848256d7c4cb2 /src/map/clif.c
parent798e0cd22aaa573565005a9e80a1ad5553b7c2b3 (diff)
parentcb2924a3d4cf138587daff750b5278e9d30975e6 (diff)
downloadhercules-d8a0c96fb31af1d5e41705d159cea430d2e3af5d.tar.gz
hercules-d8a0c96fb31af1d5e41705d159cea430d2e3af5d.tar.bz2
hercules-d8a0c96fb31af1d5e41705d159cea430d2e3af5d.tar.xz
hercules-d8a0c96fb31af1d5e41705d159cea430d2e3af5d.zip
Merge pull request #1822 from 4144/rodexfix
fix crash, exploits and adjust rodex packet versions based on tests.
Diffstat (limited to 'src/map/clif.c')
-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 28b20c9e2..1731e88ca 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -19679,7 +19679,7 @@ void clif_rodex_request_items(struct map_session_data *sd, int8 opentype, int64
void clif_rodex_icon(int fd, bool show)
{
// packet add date is 20140716, but from players reports it wrong. Using closer known correct version.
-#if PACKETVER >= 20150513
+#if PACKETVER >= 20141112
WFIFOHEAD(fd, 3);
WFIFOW(fd, 0) = rodexicon;
WFIFOB(fd, 2) = (show == true ? 1 : 0);