- fixed: R_LoadVoxelDef did not fully initialize the voxel descriptor it creates.
This commit is contained in:
parent
96e98fc4a8
commit
5a52f61096
2 changed files with 6 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue