summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-26 22:14:05 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-26 22:14:05 +0000
commit2be5a82d3849a499377ece635b4ec3932dfc6ec9 (patch)
tree832ac26cb7f7b007d7525c2c89cbfa2460823393 /src/map/npc.c
parent288978d302ad332a8e22766278cb65dbd6f2a746 (diff)
downloadhercules-2be5a82d3849a499377ece635b4ec3932dfc6ec9.tar.gz
hercules-2be5a82d3849a499377ece635b4ec3932dfc6ec9.tar.bz2
hercules-2be5a82d3849a499377ece635b4ec3932dfc6ec9.tar.xz
hercules-2be5a82d3849a499377ece635b4ec3932dfc6ec9.zip
- 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
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 2 insertions, 0 deletions
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"))