mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
ads:: do not load earth textures if already loaded
This commit is contained in:
parent
522436ba96
commit
22947c7fd1
@ -24,6 +24,7 @@ void reset_textures() {
|
||||
}
|
||||
|
||||
void init_textures() {
|
||||
if(!earth_textures.empty()) return;
|
||||
earth_textures.clear();
|
||||
string dir = "ds-images/";
|
||||
fhstream f(dir + "list.txt", "rt");
|
||||
|
Loading…
Reference in New Issue
Block a user