restrict enumerator values to int type range

This commit is contained in:
Fabian Greffrath 2022-06-25 10:34:00 +02:00
parent 54920a43b9
commit c6e4c59ca9

View File

@ -201,11 +201,11 @@ typedef enum
MF_TOUCHY = 0x10000000, // killough 11/98: dies when solids touch it
MF_BOUNCES = 0x20000000, // killough 7/11/98: for beta BFG fireballs
MF_FRIEND = 0x40000000, // killough 7/18/98: friendly monsters
// Translucent sprite? // phares
MF_TRANSLUCENT = 0x80000000, // phares
} mobjflag_t;
// Translucent sprite? // phares
#define MF_TRANSLUCENT 0x80000000 // phares
typedef enum
{
MF2_LOGRAV = 0x00000001, // alternate gravity setting