Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue