mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +00:00
- fixed voxel loader.
This commit is contained in:
parent
a41ebfeb73
commit
e19ce3ead4
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ FVoxel *R_LoadKVX(int lumpnum)
|
|||
|
||||
auto lump = fileSystem.ReadFile(lumpnum); // FileData adds an extra 0 byte to the end.
|
||||
auto rawvoxel = lump.GetBytes();
|
||||
int voxelsize = (int)(lump.GetSize()-1);
|
||||
int voxelsize = (int)(lump.GetSize());
|
||||
|
||||
// Oh, KVX, why couldn't you have a proper header? We'll just go through
|
||||
// and collect each MIP level, doing lots of range checking, and if the
|
||||
|
|
Loading…
Reference in a new issue