mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:15:31 +00:00
Fix constant raining
This commit is contained in:
parent
363274ccdf
commit
ee2560edc3
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ namespace Fallback
|
||||||
|
|
||||||
bool Map::getFallbackBool(const std::string& fall) const
|
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
|
osg::Vec4f Map::getFallbackColour(const std::string& fall) const
|
||||||
|
|
Loading…
Reference in a new issue