fix: endless loop in P_InitPicAnims

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2026-01-19 00:16:33 -05:00
parent f77a0ce4b2
commit ecfab26fdf
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

View File

@ -152,7 +152,7 @@ void P_InitPicAnims (void)
// Init animation
lastanim = anims;
for (i=0 ; animdefs[i].istexture != -1 ; i++)
for (i=0 ; animdefs[i].istexture != (unsigned char)-1 ; i++)
{
if (animdefs[i].istexture)
{