Change numadded counter to UINT16 instead of UINT8, to allow for more sprites properly

This commit is contained in:
Monster Iestyn 2021-04-25 19:01:51 +01:00
parent d71b99a56b
commit 65624bf6c0

View file

@ -230,7 +230,7 @@ boolean R_AddSingleSpriteDef(const char *sprname, spritedef_t *spritedef, UINT16
UINT8 rotation;
lumpinfo_t *lumpinfo;
softwarepatch_t patch;
UINT8 numadded = 0;
UINT16 numadded = 0;
memset(sprtemp,0xFF, sizeof (sprtemp));
maxframe = (size_t)-1;