1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-15 06:17:38 +00:00

fixed the bug with black creatures in 3D

This commit is contained in:
Zeno Rogue
2019-08-20 12:57:05 +02:00
parent fe266d3485
commit 62214a26e1
4 changed files with 10 additions and 7 deletions

View File

@@ -1045,6 +1045,8 @@ EX void make_floor_textures() {
dynamicval<int> vgp(global_projection, 0);
check_cgi();
cgi.make_floor_textures_here();
/* update texture ID in existing cgi's */
for(auto& c: cgis) c.second.models_texture.texture_id = floor_textures->renderedTexture;
}