Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -32,12 +32,13 @@ namespace Server.Gumps
|
|||
from.SendMessage( "That character is no longer online." );
|
||||
return;
|
||||
}
|
||||
else if ( focus.Deleted )
|
||||
|
||||
if ( focus.Deleted )
|
||||
{
|
||||
from.SendMessage( "That character no longer exists." );
|
||||
return;
|
||||
}
|
||||
else if ( from != focus && focus.Hidden && from.AccessLevel < focus.AccessLevel && ( !( focus is PlayerMobile ) || !((PlayerMobile)focus).VisibilityList.Contains( from ) ) )
|
||||
if ( from != focus && focus.Hidden && from.AccessLevel < focus.AccessLevel && ( !( focus is PlayerMobile ) || !((PlayerMobile)focus).VisibilityList.Contains( from ) ) )
|
||||
{
|
||||
from.SendMessage( "That character is no longer visible." );
|
||||
return;
|
||||
|
|
@ -294,4 +295,4 @@ namespace Server.Gumps
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue