From 2b092c150e1226decc48160316070fc44d5fbba0 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 20 Dec 2012 18:32:32 -0800 Subject: Enumify option, opt1, opt2, and opt3 --- src/map/magic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/magic.cpp') 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", -- cgit v1.2.3-60-g2f50