summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-09-20 20:28:30 -0300
committershennetsind <ind@henn.et>2014-09-20 20:28:30 -0300
commitb29098c74c2e67674a30a1f411e81e4cf5db8798 (patch)
tree0c7084f8d9654c2d0dedd1897b4bef229b1623ee /src/map/clif.c
parent03e448cdef05a878322b7486a2c35e00df75131e (diff)
downloadhercules-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/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index f673e0970..c7b0d11d0 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10501,7 +10501,7 @@ void clif_parse_WisMessage(int fd, struct map_session_data* sd)
}
// if player is autotrading
- if( dstsd->state.autotrade == 1 ) {
+ if( dstsd->state.autotrade ) {
char output[256];
sprintf(output, "%s is in autotrade mode and cannot receive whispered messages.", dstsd->status.name);
clif->wis_message(fd, map->wisp_server_name, output, strlen(output) + 1);