From 06e7c2820242ea5130a63305836f822ccb409a92 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 7 May 2007 10:24:46 +0000 Subject: Rearranged many method names. --- src/commodity.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/commodity.h') diff --git a/src/commodity.h b/src/commodity.h index 93c1f3be..fc1a23de 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -183,6 +183,9 @@ public: void set_flags(flags_t arg) { base->flags = arg; } + bool has_flags(flags_t arg) { + return base->flags & arg; + } void add_flags(flags_t arg) { base->flags |= arg; } -- cgit v1.2.3