mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 03:39:55 +00:00
Fix unused variable
This commit is contained in:
parent
db78d15fc4
commit
fdf80c1c4f
@ -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…
x
Reference in New Issue
Block a user