diff options
author | shennetsind <ind@henn.et> | 2014-03-10 17:03:08 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-03-10 17:03:08 -0300 |
commit | 73ab0c441de0f74c2e621a594df7e269ce89bfc5 (patch) | |
tree | 9aec530dfa13c548bd3a0bae7039899f7063ab01 /src/map/status.c | |
parent | 1e9b96f85671b8515a3e962c4640575d95768b09 (diff) | |
download | hercules-73ab0c441de0f74c2e621a594df7e269ce89bfc5.tar.gz hercules-73ab0c441de0f74c2e621a594df7e269ce89bfc5.tar.bz2 hercules-73ab0c441de0f74c2e621a594df7e269ce89bfc5.tar.xz hercules-73ab0c441de0f74c2e621a594df7e269ce89bfc5.zip |
Fixed Bug 8046
Fixed issue with permanent statuses being removed during logout for memory-freeing operations, special thanks to streusel and all those who contributed to the bug report.
http://hercules.ws/board/tracker/issue-8046-cart-disappearance/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 5dcf35198..f23a48fe0 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -9605,7 +9605,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const if (sce->timer != tid && tid != INVALID_TIMER) return 0; - if( sd && sce->timer == INVALID_TIMER ) + if( sd && sce->timer == INVALID_TIMER && !sd->state.loggingout ) chrif->del_scdata_single(sd->status.account_id,sd->status.char_id,type); if (tid == INVALID_TIMER) { |