Fix XModelSurfs being entirely loaded in temp block by adding the feature to specify a block for a struct to be able to make xmodelsurfs being loaded in normal block

This commit is contained in:
Jan
2020-09-09 11:47:09 +02:00
parent bdbfb7114e
commit 9108add01d
4 changed files with 47 additions and 25 deletions

View File

@ -199,6 +199,7 @@ set condition surfs never;
// XModelSurfs
use XModelSurfs;
set block XFILE_BLOCK_VIRTUAL;
set string name;
set count surfs XModelLodInfo::numsurfs; // No this is not a mistake. This is how the game does it.