summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-02-11 01:02:37 +0100
committerGitHub <noreply@github.com>2019-02-11 01:02:37 +0100
commit277c9edf4fb18dbb594fc293289d0b74ecc143d9 (patch)
treeb716296531f84e6b234902702e9502322ce3068e /src/map/script.c
parent545842eb1e7ec1d38b45a494fb8848d3b778f2ed (diff)
parent6c071f5de0d10ff4700a74e82169a7e2b33842a7 (diff)
downloadhercules-277c9edf4fb18dbb594fc293289d0b74ecc143d9.tar.gz
hercules-277c9edf4fb18dbb594fc293289d0b74ecc143d9.tar.bz2
hercules-277c9edf4fb18dbb594fc293289d0b74ecc143d9.tar.xz
hercules-277c9edf4fb18dbb594fc293289d0b74ecc143d9.zip
Merge pull request #2353 from 4144/updatepackets
Update packets and messages up to 2019-01-30
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index be591a3ae..76d15d8f1 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -24175,9 +24175,9 @@ static BUILDIN(tradertype)
script->reportsrc(st);
}
#endif
-#if PACKETVER_ZERO_NUM < 20181226
+#if PACKETVER_MAIN_NUM < 20190116 && PACKETVER_RE_NUM < 20190116 && PACKETVER_ZERO_NUM < 20181226
if (type == NST_BARTER) {
- ShowWarning("buildin_tradertype: NST_BARTER is only available with PACKETVER_ZERO_NUM 20181226 or newer!\n");
+ ShowWarning("buildin_tradertype: NST_BARTER is only available with PACKETVER_ZERO_NUM 20181226 or PACKETVER_MAIN_NUM 20190116 or PACKETVER_RE_NUM 20190116 or newer!\n");
script->reportsrc(st);
}
#endif