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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user