Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -17,7 +17,7 @@ namespace Server.Misc
m_Facets = new Map[]{ Map.Felucca, Map.Trammel };
/* Static weather:
*
*
* Format:
* AddWeather( temperature, chanceOfPercipitation, chanceOfExtremeTemperature, <area ...> );
*/
@ -33,7 +33,7 @@ namespace Server.Misc
/* Dynamic weather:
*
*
* Format:
* AddDynamicWeather( temperature, chanceOfPercipitation, chanceOfExtremeTemperature, moveSpeed, width, height, bounds );
*/
@ -47,8 +47,7 @@ namespace Server.Misc
if ( facet == null )
return null;
List<Weather> list = null;
m_WeatherByFacet.TryGetValue( facet, out list );
m_WeatherByFacet.TryGetValue( facet, out List<Weather> list );
if ( list == null )
m_WeatherByFacet[facet] = list = new List<Weather>();
@ -391,4 +390,4 @@ namespace Server.Misc
int version = reader.ReadInt();
}
}
}
}