From 92bcd85116ff374bca68e77ac1dd68ba29bf61e2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 Jan 2020 00:42:29 +0300 Subject: Add expanded barter shop constant --- src/map/npc.h | 1 + src/map/script.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/map/npc.h b/src/map/npc.h index c5f44f0e0..64c0e37e9 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -48,6 +48,7 @@ enum npc_shop_types { NST_MARKET, /* official npc market type */ NST_CUSTOM, NST_BARTER, /* official npc barter type */ + NST_EXPANDED_BARTER, /* official npc expanded barter type */ /* */ NST_MAX, }; diff --git a/src/map/script.c b/src/map/script.c index 26bd678fe..4fb00e8b8 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -27364,6 +27364,7 @@ static void script_hardcoded_constants(void) script->set_constant("NST_MARKET", NST_MARKET, false, false); script->set_constant("NST_CUSTOM", NST_CUSTOM, false, false); script->set_constant("NST_BARTER", NST_BARTER, false, false); + script->set_constant("NST_EXPANDED_BARTER", NST_EXPANDED_BARTER, false, false); script->constdb_comment("script unit data types"); script->set_constant("UDT_TYPE", UDT_TYPE, false, false); -- cgit v1.2.3-60-g2f50