some ugly but necessary changes to support both pre and post 7.x clients

This commit is contained in:
mark 2009-10-04 08:19:19 +00:00
parent 94d1a17b6f
commit 115e74f44e
6 changed files with 457 additions and 117 deletions

View file

@ -3203,8 +3203,13 @@ namespace Server.Mobiles
{
Type t = m.GetType();
if ( t == oldType || t == newType )
Send( new MobileMoving( m, Notoriety.Compute( this, m ) ) );
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 ) ) );
}
}
}
}
#endregion