Derp fix on spritesheet loadin'.

This commit is contained in:
StackZ
2020-12-24 22:25:13 +01:00
parent c72a6f11b3
commit 03a562721b
+1 -1
View File
@@ -193,7 +193,7 @@ void Store::loadSheets() {
this->sheets.push_back({ });
if (sheetLocs[i] != "") {
if (!(sheetLocs[i].find("/") != std::string::npos)) {
if (sheetLocs[i].find("/") == std::string::npos) {
if (access((std::string(_STORE_PATH) + sheetLocs[i]).c_str(), F_OK) == 0) {
char msg[150];