summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-15 17:17:11 -0300
committershennetsind <ind@henn.et>2013-05-15 17:17:11 -0300
commit120827a91283d60699824e9b1c56dd85c4747125 (patch)
tree4a981b12e1a2ee4197b495edc6673af444647a0a /src/map
parentd6770e2b1611f911c917ba8533732c5cfbbe8b10 (diff)
downloadhercules-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>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c5
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);