diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script-fun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index e85c9f7..6e32264 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -3737,7 +3737,7 @@ void builtin_issummon(ScriptState *st) int val = 0; if (md) { - val |= (md->mode & MobMode::SUMMONED); + val = bool(md->mode & MobMode::SUMMONED); } push_int<ScriptDataInt>(st->stack, val); |