diff options
author | shennetsind <ind@henn.et> | 2014-09-20 20:28:30 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-09-20 20:28:30 -0300 |
commit | b29098c74c2e67674a30a1f411e81e4cf5db8798 (patch) | |
tree | 0c7084f8d9654c2d0dedd1897b4bef229b1623ee /src/map/atcommand.c | |
parent | 03e448cdef05a878322b7486a2c35e00df75131e (diff) | |
download | hercules-b29098c74c2e67674a30a1f411e81e4cf5db8798.tar.gz hercules-b29098c74c2e67674a30a1f411e81e4cf5db8798.tar.bz2 hercules-b29098c74c2e67674a30a1f411e81e4cf5db8798.tar.xz hercules-b29098c74c2e67674a30a1f411e81e4cf5db8798.zip |
Fixed Bug 8138
@at persistency no longer sends characters to save point when starting autotrade on a nosave location.
http://hercules.ws/board/tracker/issue-8138-autotrade-teleports-char-to-the-savepoint/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 459a4a2ee..cc6f0b20d 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5482,6 +5482,7 @@ ACMD(autotrade) { return true; #ifdef AUTOTRADE_PERSISTENCY + sd->state.autotrade = 2;/** state will enter pre-save, we use it to rule out some criterias **/ pc->autotrade_prepare(sd); return false;/* we fail to not cause it to proceed on is_atcommand */ |