- now that C++11 is allowed, these annoying 'narrowing conversion' warnings can finally be fixed...

This commit is contained in:
Christoph Oelckers 2016-02-26 18:03:45 +01:00
parent f7a3314a0a
commit 7da8112f12
2 changed files with 2 additions and 2 deletions

View file

@ -302,7 +302,7 @@ enum
};
// [RH] Compatibility flags.
enum
enum : unsigned int
{
COMPATF_SHORTTEX = 1 << 0, // Use Doom's shortest texture around behavior?
COMPATF_STAIRINDEX = 1 << 1, // Don't fix loop index for stair building?

View file

@ -125,7 +125,7 @@ struct FMapOptInfo
bool old;
};
enum ELevelFlags
enum ELevelFlags : unsigned int
{
LEVEL_NOINTERMISSION = 0x00000001,
LEVEL_NOINVENTORYBAR = 0x00000002, // This effects Doom only, since it's the only one without a standard inventory bar.