- Blood: fixed order of initialization for voxels.

Just like Shadow Warrior it needs to load its voxel table before .def files.
This commit is contained in:
Christoph Oelckers 2021-07-13 12:11:17 +02:00
parent e3737d3330
commit b06ad5c77f
2 changed files with 1 additions and 4 deletions

View file

@ -422,9 +422,6 @@ void GameInterface::app_init()
HookReplaceFunctions();
Printf(PRINT_NONOTIFY, "Loading texture tables\n");
tileInit();
levelLoadDefaults();
//---------

View file

@ -43,7 +43,7 @@ char surfType[kMaxTiles];
int8_t tileShade[kMaxTiles];
short voxelIndex[kMaxTiles];
int tileInit()
void GameInterface::LoadGameTextures()
{
auto hFile = fileSystem.OpenFileReader("SURFACE.DAT");
if (hFile.isOpen())