summaryrefslogtreecommitdiff
path: root/src/map/map.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/map.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/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 78e67d3d4..32838dfa9 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1564,6 +1564,8 @@ int map_quit(struct map_session_data *sd)
//(changing map-servers invokes unit_free but bypasses map_quit)
if(sd->sc.count) {
//Status that are not saved...
+ if(sd->sc.data[SC_AUTOTRADE])
+ status_change_end(&sd->bl,SC_AUTOTRADE,-1);
if(sd->sc.data[SC_SPURT])
status_change_end(&sd->bl,SC_SPURT,-1);
if(sd->sc.data[SC_BERSERK])