diff options
author | shennetsind <ind@henn.et> | 2013-05-15 17:17:11 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-15 17:17:11 -0300 |
commit | 120827a91283d60699824e9b1c56dd85c4747125 (patch) | |
tree | 4a981b12e1a2ee4197b495edc6673af444647a0a | |
parent | d6770e2b1611f911c917ba8533732c5cfbbe8b10 (diff) | |
download | hercules-120827a91283d60699824e9b1c56dd85c4747125.tar.gz hercules-120827a91283d60699824e9b1c56dd85c4747125.tar.bz2 hercules-120827a91283d60699824e9b1c56dd85c4747125.tar.xz hercules-120827a91283d60699824e9b1c56dd85c4747125.zip |
Fixed Bug #7242
http://hercules.ws/board/tracker/issue-7242-monster-status-loop-issue-status-freeze/
Thanks to malufett!
Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r-- | src/map/status.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 9fbfe26fe..7231013b3 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -9087,7 +9087,10 @@ int status_change_clear(struct block_list* bl, int type) { sc->opt1 = 0; sc->opt2 = 0; sc->opt3 = 0; - + sc->bs_counter = 0; +#ifndef RENEWAL + sc->sg_counter = 0; +#endif if( type == 0 || type == 2 ) clif->changeoption(bl); |