From 2be5a82d3849a499377ece635b4ec3932dfc6ec9 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Tue, 26 Feb 2008 22:14:05 +0000 Subject: - Added new settings for autotrade on battle/misc.conf (you can read descriptions there). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12243 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/npc.c') diff --git a/src/map/npc.c b/src/map/npc.c index 7a1cca0f3..b7b62898f 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2318,6 +2318,8 @@ static const char* npc_parse_mapflag(char* w1, char* w2, char* w3, char* w4, con } map[m].flag.nosave = state; } + else if (!strcmpi(w3,"autotrade")) + map[m].flag.autotrade=state; else if (!strcmpi(w3,"allowks")) map[m].flag.allowks=state; // [Kill Steal Protection] else if (!strcmpi(w3,"nomemo")) -- cgit v1.2.3-60-g2f50