From 03a562721b09d7e78362ce0a34aa30b54764d683 Mon Sep 17 00:00:00 2001 From: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com> Date: Thu, 24 Dec 2020 22:25:13 +0100 Subject: [PATCH] Derp fix on spritesheet loadin'. --- source/store/store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/store/store.cpp b/source/store/store.cpp index 6319c49..b62fb2c 100644 --- a/source/store/store.cpp +++ b/source/store/store.cpp @@ -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];