summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-02-23 21:00:48 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-02-23 21:00:48 +0000
commit97215867bc7799ffe1166313aa58b57ae2b1a776 (patch)
tree797b7741f30b6ee26b0b125e39eb6ead428cc8ea /src/map/status.c
parent8fdc11ce3e6db27667df3f4e4676fc28ed61c97d (diff)
downloadhercules-97215867bc7799ffe1166313aa58b57ae2b1a776.tar.gz
hercules-97215867bc7799ffe1166313aa58b57ae2b1a776.tar.bz2
hercules-97215867bc7799ffe1166313aa58b57ae2b1a776.tar.xz
hercules-97215867bc7799ffe1166313aa58b57ae2b1a776.zip
* Updates to various custom stuff that buying stores might/are expected to support (follow up to r14713).
- Buying store no longer works on novending maps/cells (bugreport:4778). - MANNER_NOROOM mute flag now affects buying stores as well (like vending). - Enabled @autotrade for buying stores. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14724 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index a44fbdd44..33da5fb14 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6747,7 +6747,8 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid)
case SC_AUTOTRADE:
if (tid == INVALID_TIMER)
break;
- vending_closevending(sd);
+ // Note: vending/buying is closed by unit_remove_map, no
+ // need to do it here.
map_quit(sd);
// Because map_quit calls status_change_end with tid -1
// from here it's not neccesary to continue