diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index 09561c85e..738a62c45 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -8357,8 +8357,9 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data) if (!sc->data[SC_SLOWPOISON]) { map_freeblock_lock(); status_zap(bl, sce->val4, 0); - if (sc->data[type]) // Check if the status still last ( can be dead since then ). - sc_timer_next(1000 + tick, status_change_timer, bl->id, data ); + if (sc->data[type]) { // Check if the status still last ( can be dead since then ). + sc_timer_next(1000 + tick, status_change_timer, bl->id, data ); + } map_freeblock_unlock(); } return 0; |