This commit is contained in:
Christoph Oelckers 2021-03-06 11:32:31 +01:00
commit d18b74b537
6 changed files with 87 additions and 29 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 < MAX_MODELS_PER_FRAME; i++)
for (int i = 0; i < smf->modelsAmount; i++)
{
if (smf->skinIDs[i].isValid())
{