- fixed: R_LoadVoxelDef did not fully initialize the voxel descriptor it creates.

This commit is contained in:
Christoph Oelckers 2022-10-20 20:23:35 +02:00
commit 5a52f61096
2 changed files with 6 additions and 3 deletions

View file

@ -314,6 +314,7 @@ FVoxelDef *R_LoadVoxelDef(int lumpnum, int spin)
else
{
FVoxelDef *voxdef = new FVoxelDef;
*voxdef = {};
voxdef->Voxel = vox;
voxdef->Scale = 1.;
voxdef->DroppedSpin = voxdef->PlacedSpin = spin;