Fix Sparklies in UOTD Client. ie, fix due to Client not sending uo:td in client version

This commit is contained in:
asayre 2007-01-02 08:46:15 +00:00
parent ed73ebfa3e
commit fc9e4d2be1
4 changed files with 11 additions and 4 deletions

View file

@ -54,7 +54,7 @@ namespace Server
public static bool SendParticlesTo( NetState state )
{
return ( m_ParticleSupportType == ParticleSupportType.Full || (m_ParticleSupportType == ParticleSupportType.Detect && state.Version != null && state.Version.Type == ClientType.UOTD) );
return ( m_ParticleSupportType == ParticleSupportType.Full || (m_ParticleSupportType == ParticleSupportType.Detect && state.IsUOTDClient) );
}
public static void PlaySound( IPoint3D p, Map map, int soundID )