This commit is contained in:
LJ Sonic 2024-03-16 19:36:18 +01:00
parent 7371566592
commit 4ebda932bb

View file

@ -137,9 +137,7 @@ static void R_InstallSpriteLump(UINT16 wad, // graphics patch
char cn = R_Frame2Char(frame), cr = R_Rotation2Char(rotation); // for debugging char cn = R_Frame2Char(frame), cr = R_Rotation2Char(rotation); // for debugging
INT32 r; INT32 r;
lumpnum_t lumppat = wad; lumpnum_t lumppat = (wad << 16) + lump;
lumppat <<= 16;
lumppat += lump;
if (maxframe ==(size_t)-1 || frame > maxframe) if (maxframe ==(size_t)-1 || frame > maxframe)
maxframe = frame; maxframe = frame;