fix(Core/Misc): all GCC warnings (#3457)
This commit is contained in:
parent
80b149b218
commit
b61ae8abcd
34 changed files with 157 additions and 75 deletions
|
|
@ -210,6 +210,7 @@ bool Weather::UpdateWeather()
|
|||
if (!sWorld->SendZoneMessage(m_zone, &data))
|
||||
return false;
|
||||
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
///- Log the event
|
||||
char const* wthstr;
|
||||
switch (state)
|
||||
|
|
@ -255,7 +256,7 @@ bool Weather::UpdateWeather()
|
|||
wthstr = "fine";
|
||||
break;
|
||||
}
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
|
||||
sLog->outDetail("Change the weather of zone %u to %s.", m_zone, wthstr);
|
||||
#endif
|
||||
sScriptMgr->OnWeatherChange(this, state, m_grade);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue