From 4147d9f7966e7ebd94811248527cc45af1e54941 Mon Sep 17 00:00:00 2001 From: panikon Date: Wed, 9 Apr 2014 19:34:29 -0300 Subject: Fixed issue: 7725 http://hercules.ws/board/tracker/issue-7725-disguise-hide-skill-bug/ Fixed issue: 8027 http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills/ Fixed issue where @at showed it failed when it succeeded --- src/map/atcommand.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 09159c3f7..9e33f3c68 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -9954,6 +9954,11 @@ bool atcommand_exec(const int fd, struct map_session_data *sd, const char *messa //Attempt to use the command if ( (info->func(fd, (*atcmd_msg == atcommand->at_symbol) ? sd : ssd, command, params,info) != true) ) { +#ifdef AUTOTRADE_PERSISTENCY + // Autotrade was successful if standalone is set + if( ((*atcmd_msg == atcommand->at_symbol) ? sd->state.standalone : ssd->state.standalone) ) + return true; +#endif sprintf(output,msg_txt(154), command); // %s failed. clif->message(fd, output); return true; -- cgit v1.2.3-70-g09d2