diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-16 06:31:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-05 01:16:49 +0300 |
commit | cedd00b65123d2fcd32ac79dc0f6a077f4a279c2 (patch) | |
tree | 6061dc7fe2897c23d881d72a58adca117f36b2d0 /src/map/script.c | |
parent | 1e28acbaab22d5a92e96a6a19a6e59a92b3f7a46 (diff) | |
download | hercules-cedd00b65123d2fcd32ac79dc0f6a077f4a279c2.tar.gz hercules-cedd00b65123d2fcd32ac79dc0f6a077f4a279c2.tar.bz2 hercules-cedd00b65123d2fcd32ac79dc0f6a077f4a279c2.tar.xz hercules-cedd00b65123d2fcd32ac79dc0f6a077f4a279c2.zip |
Add support for barter shops for main and re clients with version 20190116
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 4 |
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 |