diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-10-18 10:29:02 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-10-18 10:29:19 -0700 |
commit | d872d83b43a0583b0b39ff1e11e070e7fb4a1f75 (patch) | |
tree | a21e1ba381bd3df26d04589a630f16c9fa0a1062 /src | |
parent | 65ff4b731e164aa88547a2b03396b5c7208d07f1 (diff) | |
download | tmwa-d872d83b43a0583b0b39ff1e11e070e7fb4a1f75.tar.gz tmwa-d872d83b43a0583b0b39ff1e11e070e7fb4a1f75.tar.bz2 tmwa-d872d83b43a0583b0b39ff1e11e070e7fb4a1f75.tar.xz tmwa-d872d83b43a0583b0b39ff1e11e070e7fb4a1f75.zip |
Fix totally bogus status_option magic function
Diffstat (limited to 'src')
-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 aff4412..b360cca 100644 --- a/src/map/magic-expr.cpp +++ b/src/map/magic-expr.cpp @@ -1043,7 +1043,7 @@ int fun_running_status_update(dumb_ptr<env_t>, val_t *result, const_array<val_t> static int fun_status_option(dumb_ptr<env_t>, val_t *result, const_array<val_t> args) { - RESULTINT = (bool((ARGPC(0))->status.option & static_cast<Option>(ARGINT(0)))); + RESULTINT = (bool((ARGPC(0))->status.option & static_cast<Option>(ARGINT(1)))); return 0; } |