mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
engine.cpp: fix issue introduced in r6905 where voxels with fractional scaling would not be handled correctly in Polymost
git-svn-id: https://svn.eduke32.com/eduke32@6907 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
014cf67753
commit
8bf9ad1c31
1 changed files with 1 additions and 1 deletions
|
@ -9842,7 +9842,7 @@ static void PolymostProcessVoxels(void)
|
||||||
if (voxfilenames[i])
|
if (voxfilenames[i])
|
||||||
{
|
{
|
||||||
voxmodels[i] = voxload(voxfilenames[i]);
|
voxmodels[i] = voxload(voxfilenames[i]);
|
||||||
voxmodels[i]->scale = voxscale[i]>>16;
|
voxmodels[i]->scale = voxscale[i]*(1.f/65536.f);
|
||||||
DO_FREE_AND_NULL(voxfilenames[i]);
|
DO_FREE_AND_NULL(voxfilenames[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue