codeclean
This commit is contained in:
parent
66cf85dafa
commit
7d8df94788
1 changed files with 1 additions and 0 deletions
|
@ -470,6 +470,7 @@ std::istream *istream_file(std::string const &fname)
|
|||
std::ifstream *s = new std::ifstream((game_config::path + "/" + fname).c_str(),std::ios_base::binary);
|
||||
if (s->is_open())
|
||||
return s;
|
||||
LOG_FS << "could not open " << fname << " for reading.\n";
|
||||
delete s;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue