• R/O
  • SSH

zandronum-sandbox-stable: Commit


Commit MetaInfo

Revision6f076e04aaf9d64eaa28ec313548d5926f391c77 (tree)
Time2017-07-24 02:22:22
AuthorBenjamin Berkels <torr.samaho@quan...>
CommiterBenjamin Berkels

Log Message

Fixed: When server changed the map while a client was joining, the client could get erroneously kicked for incomplete userinfo.

Change Summary

Incremental Difference

diff -r a578f7f4b368 -r 6f076e04aaf9 src/sv_main.cpp
--- a/src/sv_main.cpp Sun Jul 23 14:37:27 2017 +0200
+++ b/src/sv_main.cpp Sun Jul 23 19:22:22 2017 +0200
@@ -2206,7 +2206,7 @@
22062206 }
22072207
22082208 // [BB] Make sure that the joining client sends the full user info (sending player class is not mandatory though).
2209- if ( g_aClients[g_lCurrentClient].State < CLS_SPAWNED )
2209+ if ( g_aClients[g_lCurrentClient].State < CLS_SPAWNED_BUT_NEEDS_AUTHENTICATION )
22102210 {
22112211 static const std::set<FName> required = {
22122212 NAME_Name, NAME_Autoaim, NAME_Gender, NAME_Skin, NAME_RailColor,
Show on old repository browser