Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asset/Asset/averagecolorasset.cpp')
-rw-r--r--Source/Asset/Asset/averagecolorasset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Asset/Asset/averagecolorasset.cpp b/Source/Asset/Asset/averagecolorasset.cpp
index 374b0cce..6446a6ca 100644
--- a/Source/Asset/Asset/averagecolorasset.cpp
+++ b/Source/Asset/Asset/averagecolorasset.cpp
@@ -56,7 +56,7 @@ int AverageColor::Load( const string& rel_path, uint32_t load_flags ) {
char abs_path[kPathSize];
ModID modsource;
- if(FindImagePath(rel_path.c_str(), abs_path, kPathSize, kDataPaths | kModPaths, true, NULL, true, &modsource) == -1){
+ if(FindImagePath(rel_path.c_str(), abs_path, kPathSize, kDataPaths | kModPaths, true, NULL, true, true, &modsource) == -1){
//FatalError("Error", "Could not get average color of %s", rel_path.c_str());
return kLoadErrorMissingFile;
}