Merge pull request #2111 from Capostrophic/fallback

[Regression] Fix constant raining
pull/541/head
David Cernat 6 years ago committed by GitHub
commit 150ac71d97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,7 +63,8 @@ namespace Fallback
bool Map::getFallbackBool(const std::string& fall) const
{
return getFallbackString(fall) != "0";
std::string fallback = getFallbackString(fall);
return !fallback.empty() && fallback != "0";
}
osg::Vec4f Map::getFallbackColour(const std::string& fall) const

Loading…
Cancel
Save