ads-game:: do not crash if list missing

This commit is contained in:
Zeno Rogue 2022-09-29 12:12:11 +02:00
parent 01c7ff5bc6
commit 553bd8f466
1 changed files with 1 additions and 0 deletions

View File

@ -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);