1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 06:27:17 +00:00

ads:: a bool to disable textures

This commit is contained in:
Zeno Rogue 2024-09-17 17:57:54 +02:00
parent 8770caaa00
commit 7627fd9255

View File

@ -177,7 +177,10 @@ void draw_texture(texture_to_use& tu) {
copyright_shown = et.copyright;
}
bool texture_off;
void draw_textures() {
if(texture_off) return;
pick_textures();
for(auto& tu: textures_to_use)
if(current.shift > tu.from && current.shift < tu.to)