From 247dc0d7a24549179335fa17276bed14cf8f9459 Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sat, 17 Feb 2018 11:34:15 -0800 Subject: [PATCH] Fixed Windows warning. --- common/lc_library.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/lc_library.cpp b/common/lc_library.cpp index 36fc8325..8094312f 100644 --- a/common/lc_library.cpp +++ b/common/lc_library.cpp @@ -1752,6 +1752,8 @@ bool lcPiecesLibrary::LoadTexture(lcTexture* Texture) sprintf(FileName, "parts/textures/%s.png", Name); return Texture->Load(mLibraryDir.absoluteFilePath(QLatin1String(FileName))); +#else + return false; #endif } }