mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
ads-game:: do not crash if list missing
This commit is contained in:
parent
01c7ff5bc6
commit
553bd8f466
@ -27,6 +27,7 @@ void init_textures() {
|
||||
earth_textures.clear();
|
||||
string dir = "ds-images/";
|
||||
fhstream f(dir + "list.txt", "rt");
|
||||
if(!f.f) return;
|
||||
string cur_copyright = "";
|
||||
while(!feof(f.f)) {
|
||||
string s = scanline_noblank(f);
|
||||
|
Loading…
Reference in New Issue
Block a user