summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script-fun.cpp2
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);