mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +00:00
- 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:
parent
e3737d3330
commit
b06ad5c77f
2 changed files with 1 additions and 4 deletions
|
@ -422,9 +422,6 @@ void GameInterface::app_init()
|
||||||
|
|
||||||
HookReplaceFunctions();
|
HookReplaceFunctions();
|
||||||
|
|
||||||
Printf(PRINT_NONOTIFY, "Loading texture tables\n");
|
|
||||||
tileInit();
|
|
||||||
|
|
||||||
levelLoadDefaults();
|
levelLoadDefaults();
|
||||||
|
|
||||||
//---------
|
//---------
|
||||||
|
|
|
@ -43,7 +43,7 @@ char surfType[kMaxTiles];
|
||||||
int8_t tileShade[kMaxTiles];
|
int8_t tileShade[kMaxTiles];
|
||||||
short voxelIndex[kMaxTiles];
|
short voxelIndex[kMaxTiles];
|
||||||
|
|
||||||
int tileInit()
|
void GameInterface::LoadGameTextures()
|
||||||
{
|
{
|
||||||
auto hFile = fileSystem.OpenFileReader("SURFACE.DAT");
|
auto hFile = fileSystem.OpenFileReader("SURFACE.DAT");
|
||||||
if (hFile.isOpen())
|
if (hFile.isOpen())
|
||||||
|
|
Loading…
Reference in a new issue