Applied Ghoul cleanups

This commit is contained in:
Alexander Bock
2015-11-22 21:26:02 -05:00
parent 01c1586616
commit 3806318b0d
7 changed files with 10 additions and 12 deletions
+1 -2
View File
@@ -349,8 +349,7 @@ void RenderableStars::update(const UpdateData& data) {
bool RenderableStars::loadData() {
std::string _file = _speckFile;
std::string cachedFile = "";
FileSys.cacheManager()->getCachedFile(_file, cachedFile, true);
std::string cachedFile = FileSys.cacheManager()->cachedFilename(_file, true);
bool hasCachedFile = FileSys.fileExists(cachedFile);
if (hasCachedFile) {