summaryrefslogtreecommitdiff
path: root/src/map/magic-expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-expr.cpp')
-rw-r--r--src/map/magic-expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/magic-expr.cpp b/src/map/magic-expr.cpp
index 2858064..65dafe4 100644
--- a/src/map/magic-expr.cpp
+++ b/src/map/magic-expr.cpp
@@ -1052,7 +1052,7 @@ int fun_running_status_update(env_t *, int, val_t *result,
return 1;
StatusChange sc = StatusChange(ARGINT(1));
- RESULTINT = battle_get_sc_data(ARGENTITY(0))[sc].timer != -1;
+ RESULTINT = battle_get_sc_data(ARGENTITY(0))[sc].timer != nullptr;
return 0;
}