1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-02 00:45:32 +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) void WeatherManager::changeWeather(const std::string& region, const unsigned int id)
{ {
// make sure this region exists // 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; std::string weather;
if (id==0) if (id==0)