mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 19:15:14 -04:00
C client: Fix map being invisible when missing default.zip
This commit is contained in:
parent
0b9fa28779
commit
ab8f1f3d67
@ -479,6 +479,8 @@ void ChunkUpdater_Init(void) {
|
||||
Event_RegisterVoid(&GfxEvents_ContextLost, NULL, ChunkUpdater_ClearChunkCache_Handler);
|
||||
Event_RegisterVoid(&GfxEvents_ContextRecreated, NULL, ChunkUpdater_Refresh_Handler);
|
||||
|
||||
/* This = 87 fixes map being invisible when no textures */
|
||||
MapRenderer_1DUsedCount = 87; /* Atlas1D_UsedAtlasesCount(); */
|
||||
ChunkUpdater_ChunkPos = Vector3I_MaxValue();
|
||||
ChunkUpdater_ApplyMeshBuilder();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user