- Implement dual protocol support (#4962)
- Fix several UDP spoofing security issues
This commit is contained in:
1 parent
309c322b80
commit
e06c117e9e
13 files changed
+550
-247
No files matched your search
@@ -1056,6 +1056,11 @@ qboolean FS_IsDemoExt(const char *filename, int namelen)
|
||||
if(protocol == com_protocol->integer)
|
||||
return qtrue;
|
||||
|
||||
#ifdef LEGACY_PROTOCOL
|
||||
if(protocol == com_legacyprotocol->integer)
|
||||
return qtrue;
|
||||
#endif
|
||||
|
||||
for(index = 0; demo_protocols[index]; index++)
|
||||
{
|
||||
if(demo_protocols[index] == protocol)
|
||||
|
||||
Reference in new issue
Block a user