From b29098c74c2e67674a30a1f411e81e4cf5db8798 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 20 Sep 2014 20:28:30 -0300 Subject: 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 --- src/map/atcommand.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/atcommand.c') 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 */ -- cgit v1.2.3-60-g2f50