Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -82,7 +82,7 @@ namespace Server.Spells.Spellweaving
|
|||
|
||||
if ( t.Z + id.CalcHeight != location.Z )
|
||||
continue;
|
||||
else if ( IsValidTile( tand ) )
|
||||
if ( IsValidTile( tand ) )
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -94,7 +94,7 @@ namespace Server.Spells.Spellweaving
|
|||
|
||||
if ( item == null || item.Z + id.CalcHeight != location.Z )
|
||||
continue;
|
||||
else if ( IsValidTile( item.ItemID ) )
|
||||
if ( IsValidTile( item.ItemID ) )
|
||||
{
|
||||
eable.Free();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue