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 committed by toaster
parent 9e20d1ea31
commit eeb208312a

View file

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