mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Set the new frame radius
This fixes an issue when culling static models as it uses the radius and the radius wasn't initialized
This commit is contained in:
parent
b641a1040c
commit
29f8ff8d71
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ skeletor_c::ConvertSkelFileToGame(skelAnimDataFileHeader_t *pHeader, int iBuffLe
|
|||
newFrame->bounds[1][0] = LittleFloat(pFileFrame->bounds[1][0]);
|
||||
newFrame->bounds[1][1] = LittleFloat(pFileFrame->bounds[1][1]);
|
||||
newFrame->bounds[1][2] = LittleFloat(pFileFrame->bounds[1][2]);
|
||||
newFrame->radius = LittleFloat(pFileFrame->radius);
|
||||
newFrame->delta[0] = LittleFloat(pFileFrame->delta[0]);
|
||||
newFrame->delta[1] = LittleFloat(pFileFrame->delta[1]);
|
||||
newFrame->delta[2] = LittleFloat(pFileFrame->delta[2]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue