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

@ -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