double oops!

This commit is contained in:
mark 2009-10-04 08:54:39 +00:00
parent 9cb2a4ba46
commit aa682987f5

View file

@ -3204,10 +3204,14 @@ namespace Server.Mobiles
Type t = m.GetType();
if ( t == oldType || t == newType ) {
if ( this.NetState.IsPost7000 ) {
Send( new MobileMoving( m, Notoriety.Compute( this, m ) ) );
} else {
Send( new MobileMovingOld( m, Notoriety.Compute( this, m ) ) );
NetState ns = this.NetState;
if ( ns != null ) {
if ( ns.IsPost7000 ) {
ns.Send( new MobileMoving( m, Notoriety.Compute( this, m ) ) );
} else {
ns.Send( new MobileMovingOld( m, Notoriety.Compute( this, m ) ) );
}
}
}
}