engine: client: redefine legacymode from qboolean to an enum with selected protocol. Remove protocol auto-guess hack, it's useless since connect accept accepts protocol string

This commit is contained in:
Alibek Omarov
2024-06-15 10:52:26 +03:00
parent f7e12586cf
commit 611d07fc16
4 changed files with 42 additions and 30 deletions
+1 -1
View File
@@ -705,5 +705,5 @@ void CL_LegacyUpdateInfo( void )
qboolean CL_LegacyMode( void )
{
return cls.legacymode;
return cls.legacymode == PROTO_LEGACY;
}