mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 18:15:35 +00:00
Fix unused variable
This commit is contained in:
parent
db78d15fc4
commit
fdf80c1c4f
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue