1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 11:37:55 +00:00

improved handling of missing models/images

This commit is contained in:
Zeno Rogue
2022-04-07 21:06:47 +02:00
parent d075987fa4
commit e318410bff
3 changed files with 16 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ char peek(fhstream& fs) {
bool model::available() {
if(av_checked) return is_available;
av_checked = true;
is_available = false;
is_available = file_exists(path + fname);
return false;
}