Closed NicMagnier closed 1 year ago
gcc is treating enums as undefined by default. Since the invalid value in animdef_t is -1, it gets casted as 255 and fails to compare with -1 in P_InitPicAnims.
Sorry for missing this. I had notification turned off. Thanks for your contribution!
gcc is treating enums as undefined by default. Since the invalid value in animdef_t is -1, it gets casted as 255 and fails to compare with -1 in P_InitPicAnims.