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:
parent
8770caaa00
commit
7627fd9255
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user