Fixes casting checks
This commit is contained in:
parent
7ea00fbf4f
commit
03dd5f1926
431 changed files with 5616 additions and 6250 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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 ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue