summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2014-10-26 22:29:13 +0100
committerHerculesWSAPI <Hercules@efficiently.awesome>2014-10-26 22:29:13 +0100
commitc151e8714304dc4f95d9ce91b98fc84bf0958d94 (patch)
tree9f0852ca7b6907df8aabb9428138282a5b3cbcd3 /src
parent3904b3a935395d9f0d9ac2864e6fa34863c630c2 (diff)
downloadhercules-c151e8714304dc4f95d9ce91b98fc84bf0958d94.tar.gz
hercules-c151e8714304dc4f95d9ce91b98fc84bf0958d94.tar.bz2
hercules-c151e8714304dc4f95d9ce91b98fc84bf0958d94.tar.xz
hercules-c151e8714304dc4f95d9ce91b98fc84bf0958d94.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src')
-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;