Fixes implicit ternary expressions

This commit is contained in:
Kamron Batman 2018-09-14 14:56:48 -07:00
parent c85b0a740c
commit ff26dfa375
345 changed files with 1905 additions and 2336 deletions

View file

@ -666,7 +666,7 @@ namespace Server.Engines.CannedEvil
return new Point3D( x, y, z );
/* try @ platform Z if map z fails */
else if ( Map.CanSpawnMobile( new Point2D( x, y ), m_Platform.Location.Z ) )
if ( Map.CanSpawnMobile( new Point2D( x, y ), m_Platform.Location.Z ) )
return new Point3D( x, y, m_Platform.Location.Z );
}
@ -683,9 +683,9 @@ namespace Server.Engines.CannedEvil
if ( level <= Level1 )
return 0;
else if ( level <= Level2 )
if ( level <= Level2 )
return 1;
else if ( level <= Level3 )
if ( level <= Level3 )
return 2;
return 3;