This is a fork of Zandronum for TSPG.
Revisão | efd6fcde65933bd78cc356f4b90831670adf803d (tree) |
---|---|
Hora | 2017-04-08 21:31:52 |
Autor | Benjamin Berkels <torr.samaho@quan...> |
Commiter | Benjamin Berkels |
Only tick the outgoing packet buffer for valid clients (addresses 2931).
@@ -656,7 +656,12 @@ | ||
656 | 656 | |
657 | 657 | // [BB] Send out sheduled packets, respecting sv_maxpacketspertick. |
658 | 658 | for ( ulIdx = 0; ulIdx < MAXPLAYERS; ulIdx++ ) |
659 | + { | |
660 | + if ( SERVER_IsValidClient( ulIdx ) == false ) | |
661 | + continue; | |
662 | + | |
659 | 663 | SERVER_GetClient ( ulIdx )->SavedPackets.Tick ( ); |
664 | + } | |
660 | 665 | |
661 | 666 | // Potentially send an update to the master server. |
662 | 667 | SERVER_MASTER_Tick( ); |