|
|
@ -892,8 +892,7 @@ inline void WeatherManager::regionalWeatherChanged(const std::string& regionID,
|
|
|
|
MWWorld::ConstPtr player = MWMechanics::getPlayer();
|
|
|
|
MWWorld::ConstPtr player = MWMechanics::getPlayer();
|
|
|
|
if(player.isInCell())
|
|
|
|
if(player.isInCell())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
std::string playerRegion = Misc::StringUtils::lowerCase(player.getCell()->getCell()->mRegion);
|
|
|
|
if(Misc::StringUtils::ciEqual(regionID, mCurrentRegion))
|
|
|
|
if(!playerRegion.empty() && (playerRegion == regionID))
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
addWeatherTransition(region.getWeather());
|
|
|
|
addWeatherTransition(region.getWeather());
|
|
|
|
}
|
|
|
|
}
|
|
|
|