diff --git a/common/bspfile.cc b/common/bspfile.cc index a579e954..9c5ee867 100644 --- a/common/bspfile.cc +++ b/common/bspfile.cc @@ -728,7 +728,7 @@ struct gamedef_q2_t : public gamedef_t // NOTE: strips off any extra flags return {Q2_CONTENTS_SOLID, 0}; } - return {a.native | b.native, a.extended | b.extended}; + return {a.native | b.native, static_cast(a.extended | b.extended)}; } std::string get_contents_display(const contentflags_t &contents) const