Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -139,16 +139,14 @@ namespace Server.Engines.Quests.Doom
|
|||
foundLoc = true;
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
int z = map.GetAverageZ( x, y );
|
||||
|
||||
if ( map.CanSpawnMobile( x, y, z ) )
|
||||
{
|
||||
dragon.MoveToWorld( new Point3D( x, y, z ), map );
|
||||
foundLoc = true;
|
||||
break;
|
||||
}
|
||||
int z = map.GetAverageZ( x, y );
|
||||
|
||||
if ( map.CanSpawnMobile( x, y, z ) )
|
||||
{
|
||||
dragon.MoveToWorld( new Point3D( x, y, z ), map );
|
||||
foundLoc = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue