Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -592,7 +592,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
if ( m_Paragon == value )
|
||||
return;
|
||||
else if ( value )
|
||||
if ( value )
|
||||
Paragon.Convert( this );
|
||||
else
|
||||
Paragon.UnConvert( this );
|
||||
|
|
@ -2822,10 +2822,8 @@ namespace Server.Mobiles
|
|||
return -GetDistanceToSqrt( m ); // returns closest mobile
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return double.MinValue;
|
||||
}
|
||||
|
||||
return double.MinValue;
|
||||
}
|
||||
|
||||
// Turn, - for left, + for right
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue