Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -88,9 +88,9 @@ namespace Server.Engines.ConPVP
|
|||
{
|
||||
if ( xp >= 22500 )
|
||||
return 50;
|
||||
else if ( xp >= 2500 )
|
||||
if ( xp >= 2500 )
|
||||
return (10 + ((xp - 2500) / 500));
|
||||
else if ( xp < 0 )
|
||||
if ( xp < 0 )
|
||||
xp = 0;
|
||||
|
||||
return m_ShortLevels[xp / 100];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue