1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00
This commit is contained in:
goaaats 2018-02-01 16:28:03 +01:00
parent c460283ca6
commit 4f22c20fa8

View file

@ -235,12 +235,12 @@ uint8_t Zone::getNextWeather()
uint8_t sumPc = 0;
for( size_t i = 0; i < 16; )
{
int32_t weatherId = boost::get<int32_t>( weatherRateFields[i] );
int32_t weatherId = boost::get< int32_t >( weatherRateFields[i] );
if( weatherId == 0 )
break;
sumPc += boost::get<uint8_t>( weatherRateFields[i + 1] );
sumPc += boost::get< uint8_t >( weatherRateFields[i + 1] );
weatherRateMap[sumPc] = weatherId;
i += 2;