summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/chrif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 1ba89f8c0..c78b34309 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1127,10 +1127,10 @@ bool chrif_save_scdata(struct map_session_data *sd) { //parses the sc_data of th
td = timer->get(sc->data[i]->timer);
if (td == NULL || td->func != status->change_timer)
continue;
- if (DIFF_TICK32(td->tick,tick) > 0)
- data.tick = DIFF_TICK32(td->tick,tick); //Duration that is left before ending.
- else
- data.tick = 0; //Negative tick does not necessarily mean that sc has expired
+ if (DIFF_TICK32(td->tick,tick) > 0)
+ data.tick = DIFF_TICK32(td->tick,tick); //Duration that is left before ending.
+ else
+ data.tick = 0; //Negative tick does not necessarily mean that sc has expired
} else
data.tick = -1; //Infinite duration
data.type = i;