summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ece5fef5f..2b7dc2e09 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6752,7 +6752,7 @@ int status_change_timer(int tid, unsigned int tick, int id, int data)
s=10;
break;
}
- if (s && ((sc->data[type].val3 % s) == 0)) {
+ if (s && (counter%s == 0)) {
if (sc->data[SC_LONGING].timer != -1)
sp*= 3;
if (!status_charge(bl, 0, sp))