More cast conversion fixes
This commit is contained in:
parent
3f45bd57b9
commit
aba9452161
46 changed files with 359 additions and 506 deletions
|
|
@ -39,8 +39,8 @@ namespace Server.Items
|
|||
|
||||
private static void Hide_Callback( object obj )
|
||||
{
|
||||
if ( obj is Mobile )
|
||||
Hide( (Mobile) obj );
|
||||
if ( obj is Mobile mobile )
|
||||
Hide( mobile );
|
||||
}
|
||||
|
||||
public static void Hide( Mobile m )
|
||||
|
|
@ -60,8 +60,8 @@ namespace Server.Items
|
|||
|
||||
private static void EndHide_Callback( object obj )
|
||||
{
|
||||
if ( obj is Mobile )
|
||||
EndHide( (Mobile) obj );
|
||||
if ( obj is Mobile mobile )
|
||||
EndHide( mobile );
|
||||
}
|
||||
|
||||
public static void EndHide( Mobile m )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue