• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum for TSPG.


Commit MetaInfo

Revisãoefd6fcde65933bd78cc356f4b90831670adf803d (tree)
Hora2017-04-08 21:31:52
AutorBenjamin Berkels <torr.samaho@quan...>
CommiterBenjamin Berkels

Mensagem de Log

Only tick the outgoing packet buffer for valid clients (addresses 2931).

Mudança Sumário

Diff

diff -r 26a565b197f6 -r efd6fcde6593 src/sv_main.cpp
--- a/src/sv_main.cpp Sun Apr 02 22:27:18 2017 +0200
+++ b/src/sv_main.cpp Sat Apr 08 14:31:52 2017 +0200
@@ -656,7 +656,12 @@
656656
657657 // [BB] Send out sheduled packets, respecting sv_maxpacketspertick.
658658 for ( ulIdx = 0; ulIdx < MAXPLAYERS; ulIdx++ )
659+ {
660+ if ( SERVER_IsValidClient( ulIdx ) == false )
661+ continue;
662+
659663 SERVER_GetClient ( ulIdx )->SavedPackets.Tick ( );
664+ }
660665
661666 // Potentially send an update to the master server.
662667 SERVER_MASTER_Tick( );