From 1cf6cb106f3910df79970567b304e3202a3a8eba Mon Sep 17 00:00:00 2001 From: nkorslund Date: Wed, 27 Aug 2008 07:38:47 +0000 Subject: [PATCH] Bugfix in monster/util/flags.d git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@40 ea6a568a-9f4f-0410-981a-c910a81bb256 --- monster/util/flags.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monster/util/flags.d b/monster/util/flags.d index 997a7122b..c81c413ca 100644 --- a/monster/util/flags.d +++ b/monster/util/flags.d @@ -35,7 +35,7 @@ struct Flags(T) { flags ^= flags & t; } bool has(T t) - { return (flags & t) != t; } + { return (flags & t) == t; } bool hasAny(T t) { return (flags & t) != 0; }