diff options
Diffstat (limited to 'src/map/magic-expr.cpp')
-rw-r--r-- | src/map/magic-expr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/magic-expr.cpp b/src/map/magic-expr.cpp index ef1ddb1..bb93670 100644 --- a/src/map/magic-expr.cpp +++ b/src/map/magic-expr.cpp @@ -1030,8 +1030,8 @@ static int fun_status_option(env_t *, int, val_t *result, val_t *args) { RESULTINT = - ((((struct map_session_data *) ARGENTITY(0))-> - status.option & ARGINT(0)) != 0); + (bool(((struct map_session_data *) ARGENTITY(0))-> + status.option & Option(ARGINT(0)))); return 0; } |