Disable animated textures

This commit is contained in:
Sally Coolatta 2020-08-16 00:16:17 -04:00
parent 49e2f98beb
commit 5e13555727

View file

@ -169,6 +169,11 @@ void P_InitPicAnims(void)
INT32 w; // WAD
size_t i;
#if 1
// SRB2Kart: NO ONE GETS ANIMATED TEXTURES UNTIL THE SHITTY BUG GETS FIXED.
(void)w;
(void)i;
#else
I_Assert(animdefs == NULL);
maxanims = 0;
@ -240,6 +245,7 @@ void P_InitPicAnims(void)
// We'll only be using anims from now on.
Z_Free(animdefs);
animdefs = NULL;
#endif
}
void P_ParseANIMDEFSLump(INT32 wadNum, UINT16 lumpnum)
@ -516,11 +522,15 @@ static inline void P_FindAnimatedFlat(INT32 animnum)
*/
void P_SetupLevelFlatAnims(void)
{
#if 1
// SRB2Kart: NO ONE GETS ANIMATED TEXTURES UNTIL THE SHITTY BUG GETS FIXED.
return;
#else
INT32 i;
// the original game flat anim sequences
for (i = 0; anims[i].istexture != -1; i++)
P_FindAnimatedFlat(i);
#endif
}
//