Revert "Dynamic number of models per frame instead of a hard limit of four. (#1298)"

This reverts commit 769d60a64f.
This commit is contained in:
Rachael Alexanderson 2021-02-25 09:58:17 -05:00
commit d6987ff6b2
6 changed files with 31 additions and 77 deletions

View file

@ -162,7 +162,7 @@ void hw_PrecacheTexture(uint8_t *texhitlist, TMap<PClassActor*, bool> &actorhitl
FSpriteModelFrame * smf = FindModelFrame(cls, state.sprite, state.Frame, false);
if (smf != NULL)
{
for (int i = 0; i < smf->modelsAmount; i++)
for (int i = 0; i < MAX_MODELS_PER_FRAME; i++)
{
if (smf->skinIDs[i].isValid())
{