Fixes casting checks

This commit is contained in:
Kamron Batman 2018-08-19 01:38:55 +08:00
parent 7ea00fbf4f
commit 03dd5f1926
431 changed files with 5616 additions and 6250 deletions

View file

@ -232,7 +232,7 @@ namespace Server.Mobiles
Frozen = true;
if( m_SculptedBy == null || Map == Map.Internal ) // Remove preview statues
if ( m_SculptedBy == null || Map == Map.Internal ) // Remove preview statues
{
Timer.DelayCall( TimeSpan.Zero, new TimerCallback( Delete ) );
}
@ -370,7 +370,7 @@ namespace Server.Mobiles
break;
}
if( Map != null )
if ( Map != null )
{
ProcessDelta();
@ -382,7 +382,7 @@ namespace Server.Mobiles
{
state.Mobile.ProcessDelta();
if( p == null )
if ( p == null )
p = Packet.Acquire( new UpdateStatueAnimation( this, 1, m_Animation, m_Frames ) );
state.Send( p );

View file

@ -69,7 +69,7 @@ namespace Server.Items
m_Statue = reader.ReadMobile() as CharacterStatue;
if( m_Statue == null || m_Statue.SculptedBy == null || Map == Map.Internal )
if ( m_Statue == null || m_Statue.SculptedBy == null || Map == Map.Internal )
{
Timer.DelayCall( TimeSpan.Zero, new TimerCallback( Delete ) );
}