[IMaterial] Indentation

This commit is contained in:
momo5502 2017-04-24 21:14:32 +02:00
parent e2bad62c70
commit cdf759736f

View File

@ -60,7 +60,7 @@ namespace Assets
{ {
// Workaround for effect techsets having _nofog suffix // Workaround for effect techsets having _nofog suffix
std::string suffix; std::string suffix;
if(Utils::String::StartsWith(techset, "effect_") && Utils::String::EndsWith(techset, "_nofog")) if (Utils::String::StartsWith(techset, "effect_") && Utils::String::EndsWith(techset, "_nofog"))
{ {
suffix = "_nofog"; suffix = "_nofog";
Utils::String::Replace(techset, suffix, ""); Utils::String::Replace(techset, suffix, "");
@ -166,7 +166,7 @@ namespace Assets
} }
}, asset, false); }, asset, false);
if(!replacementFound && asset->techniqueSet) if (!replacementFound && asset->techniqueSet)
{ {
Components::Logger::Print("No replacement found for material %s with techset %s\n", asset->name, asset->techniqueSet->name); Components::Logger::Print("No replacement found for material %s with techset %s\n", asset->name, asset->techniqueSet->name);
} }