Daivuk / PureDOOM

Pure DOOM - Single Header Doom Source Port
GNU General Public License v2.0
288 stars 23 forks source link

Enum Fix #1

Closed NicMagnier closed 1 year ago

NicMagnier commented 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.

Daivuk commented 1 year ago

Sorry for missing this. I had notification turned off. Thanks for your contribution!