engine.cpp: fix issue with voxmodel_t voxels not having their scale set properly due to defs being processed before PolymostProcessVoxels()

git-svn-id: https://svn.eduke32.com/eduke32@6905 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
pogokeen 2018-05-23 15:04:56 +00:00
parent 5ff4e22eb9
commit db1220cd11

View file

@ -9842,6 +9842,7 @@ static void PolymostProcessVoxels(void)
if (voxfilenames[i])
{
voxmodels[i] = voxload(voxfilenames[i]);
voxmodels[i]->scale = voxscale[i]>>16;
DO_FREE_AND_NULL(voxfilenames[i]);
}
}