diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-09 01:51:36 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-12 20:21:34 -0800 |
commit | 80e36aa669274637bcd5956fbf4020dba1d4739c (patch) | |
tree | 2f5d3a63a5f7230ab73cd588e3493c0664a5a73b /src/map/magic-expr.cpp | |
parent | 83b2e0b3ceda907b7186acfcc56c214fc04d9c13 (diff) | |
download | tmwa-80e36aa669274637bcd5956fbf4020dba1d4739c.tar.gz tmwa-80e36aa669274637bcd5956fbf4020dba1d4739c.tar.bz2 tmwa-80e36aa669274637bcd5956fbf4020dba1d4739c.tar.xz tmwa-80e36aa669274637bcd5956fbf4020dba1d4739c.zip |
Strictify timers
Diffstat (limited to 'src/map/magic-expr.cpp')
-rw-r--r-- | src/map/magic-expr.cpp | 2 |
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; } |