mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
Style
This commit is contained in:
parent
c460283ca6
commit
4f22c20fa8
1 changed files with 2 additions and 2 deletions
|
@ -235,12 +235,12 @@ uint8_t Zone::getNextWeather()
|
||||||
uint8_t sumPc = 0;
|
uint8_t sumPc = 0;
|
||||||
for( size_t i = 0; i < 16; )
|
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 )
|
if( weatherId == 0 )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
sumPc += boost::get<uint8_t>( weatherRateFields[i + 1] );
|
sumPc += boost::get< uint8_t >( weatherRateFields[i + 1] );
|
||||||
weatherRateMap[sumPc] = weatherId;
|
weatherRateMap[sumPc] = weatherId;
|
||||||
|
|
||||||
i += 2;
|
i += 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue