diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-26 22:14:05 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-26 22:14:05 +0000 |
commit | 2be5a82d3849a499377ece635b4ec3932dfc6ec9 (patch) | |
tree | 832ac26cb7f7b007d7525c2c89cbfa2460823393 /src/map/npc.c | |
parent | 288978d302ad332a8e22766278cb65dbd6f2a746 (diff) | |
download | hercules-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.c | 2 |
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")) |