mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix unintentional error message with dynamic media
This commit is contained in:
@@ -38,7 +38,7 @@ void FileCache::createDir()
|
|||||||
|
|
||||||
bool FileCache::loadByPath(const std::string &path, std::ostream &os)
|
bool FileCache::loadByPath(const std::string &path, std::ostream &os)
|
||||||
{
|
{
|
||||||
auto fis = open_ifstream(path.c_str(), true);
|
auto fis = open_ifstream(path.c_str(), false);
|
||||||
if (!fis.good())
|
if (!fis.good())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user