mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Disable animated textures
This commit is contained in:
parent
49e2f98beb
commit
5e13555727
1 changed files with 11 additions and 1 deletions
12
src/p_spec.c
12
src/p_spec.c
|
|
@ -169,6 +169,11 @@ void P_InitPicAnims(void)
|
||||||
INT32 w; // WAD
|
INT32 w; // WAD
|
||||||
size_t i;
|
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);
|
I_Assert(animdefs == NULL);
|
||||||
|
|
||||||
maxanims = 0;
|
maxanims = 0;
|
||||||
|
|
@ -240,6 +245,7 @@ void P_InitPicAnims(void)
|
||||||
// We'll only be using anims from now on.
|
// We'll only be using anims from now on.
|
||||||
Z_Free(animdefs);
|
Z_Free(animdefs);
|
||||||
animdefs = NULL;
|
animdefs = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void P_ParseANIMDEFSLump(INT32 wadNum, UINT16 lumpnum)
|
void P_ParseANIMDEFSLump(INT32 wadNum, UINT16 lumpnum)
|
||||||
|
|
@ -516,11 +522,15 @@ static inline void P_FindAnimatedFlat(INT32 animnum)
|
||||||
*/
|
*/
|
||||||
void P_SetupLevelFlatAnims(void)
|
void P_SetupLevelFlatAnims(void)
|
||||||
{
|
{
|
||||||
|
#if 1
|
||||||
|
// SRB2Kart: NO ONE GETS ANIMATED TEXTURES UNTIL THE SHITTY BUG GETS FIXED.
|
||||||
|
return;
|
||||||
|
#else
|
||||||
INT32 i;
|
INT32 i;
|
||||||
|
|
||||||
// the original game flat anim sequences
|
// the original game flat anim sequences
|
||||||
for (i = 0; anims[i].istexture != -1; i++)
|
for (i = 0; anims[i].istexture != -1; i++)
|
||||||
P_FindAnimatedFlat(i);
|
P_FindAnimatedFlat(i);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue