mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable flat animdefs
The speed up is significant.
This commit is contained in:
parent
4578e6f8f1
commit
ffa2af7e07
1 changed files with 7 additions and 0 deletions
|
|
@ -212,6 +212,12 @@ void P_InitPicAnims(void)
|
|||
lastanim->picnum = R_TextureNumForName(animdefs[i].endname);
|
||||
lastanim->basepic = R_TextureNumForName(animdefs[i].startname);
|
||||
}
|
||||
else
|
||||
{
|
||||
CONS_Alert(CONS_WARNING, "ANIMDEFS flats are disabled; flat support in general will be removed soon! (%s, %s)\n", animdefs[i].startname, animdefs[i].endname);
|
||||
continue;
|
||||
}
|
||||
#if 0
|
||||
else
|
||||
{
|
||||
if ((W_CheckNumForName(animdefs[i].startname)) == LUMPERROR)
|
||||
|
|
@ -220,6 +226,7 @@ void P_InitPicAnims(void)
|
|||
lastanim->picnum = R_GetFlatNumForName(animdefs[i].endname);
|
||||
lastanim->basepic = R_GetFlatNumForName(animdefs[i].startname);
|
||||
}
|
||||
#endif
|
||||
|
||||
lastanim->istexture = animdefs[i].istexture;
|
||||
lastanim->numpics = lastanim->picnum - lastanim->basepic + 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue