mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 03:34:18 +03:00
Fix DoesAssetExist
This commit is contained in:
@@ -214,7 +214,7 @@ bool DoesAssetExist(const std::string & fileName)
|
||||
}
|
||||
#else
|
||||
// access works just fine on linux and friends
|
||||
#define DoesAssetExist(fileName) (XPL_ACCESS(fileName, 0) == 0)
|
||||
#define DoesAssetExist(fileName) (XPL_ACCESS("assets/" fileName, 0) == 0)
|
||||
#endif
|
||||
|
||||
void CheckOptionalTextureAvailability()
|
||||
|
||||
Reference in New Issue
Block a user