diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/map/status.c b/src/map/status.c index 4194b0c6b..fccf33847 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5957,13 +5957,7 @@ int status_change_clear(struct block_list *bl,int type) sc = status_get_sc(bl); - if (!sc) - return 0; - - if (sc->data[SC_FREEZE].val3) - sc->data[SC_FREEZE].val3 = 0; //Reset freeze counter. - - if (!sc->count) + if (!sc || !sc->count) return 0; if(sc->data[SC_DANCING].timer != -1) |