Skip to content

Commit

Permalink
Remove pointless weather check
Browse files Browse the repository at this point in the history
Not having an emulator tell me that I can't change the weather
  • Loading branch information
StadenElysium committed Aug 25, 2018
1 parent 2b20edc commit 820e456
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/game/Commands/Level3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4767,13 +4767,7 @@ bool ChatHandler::HandleChangeWeatherCommand(char* args)

Player* player = m_session->GetPlayer();
uint32 zoneId = player->GetZoneId();
if (!sWeatherMgr.GetWeatherChances(zoneId))
{
SendSysMessage(LANG_NO_WEATHER);
SetSentErrorMessage(true);
}
player->GetMap()->SetWeather(zoneId, (WeatherType)type, grade, false);

return true;
}

Expand Down

0 comments on commit 820e456

Please sign in to comment.