1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-03 14:45:37 +00:00

Fix unused variable

This commit is contained in:
scrawl 2013-04-28 11:05:01 +02:00
parent db78d15fc4
commit fdf80c1c4f

View file

@ -622,8 +622,7 @@ unsigned int WeatherManager::getWeatherID() const
void WeatherManager::changeWeather(const std::string& region, const unsigned int id)
{
// make sure this region exists
const ESM::Region *reg =
MWBase::Environment::get().getWorld()->getStore().get<ESM::Region>().find(region);
MWBase::Environment::get().getWorld()->getStore().get<ESM::Region>().find(region);
std::string weather;
if (id==0)