summaryrefslogtreecommitdiff
path: root/src/map/magic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic.cpp')
-rw-r--r--src/map/magic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/magic.cpp b/src/map/magic.cpp
index a310273..20155aa 100644
--- a/src/map/magic.cpp
+++ b/src/map/magic.cpp
@@ -98,7 +98,7 @@ int magic_message(character_t *caster, char *spell_, size_t)
fprintf(stderr, "Found spell `%s', triggered = %d\n", spell_,
effects != NULL);
#endif
- if (caster->status.option & OPTION_HIDE)
+ if (bool(caster->status.option & Option::HIDE))
return 0; // No spellcasting while hidden
MAP_LOG_PC(caster, "CAST %s %s",