File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2996,8 +2996,9 @@ void Cmd_PEXT_f(void)
29962996 // do not reset it.
29972997 if (!sv_client -> fteprotocolextensions )
29982998 {
2999- sv_client -> fteprotocolextensions = proto_value ;
3000- Con_DPrintf ("PEXT: Client supports 0x%x fte extensions\n" , proto_value );
2999+ sv_client -> fteprotocolextensions = proto_value & svs .fteprotocolextensions ;
3000+ if (sv_client -> fteprotocolextensions )
3001+ Con_DPrintf ("PEXT: Client supports 0x%x fte extensions\n" , sv_client -> fteprotocolextensions );
30013002 }
30023003 break ;
30033004#endif // PROTOCOL_VERSION_FTE
@@ -3007,8 +3008,9 @@ void Cmd_PEXT_f(void)
30073008 // do not reset it.
30083009 if (!sv_client -> fteprotocolextensions2 )
30093010 {
3010- sv_client -> fteprotocolextensions2 = proto_value ;
3011- Con_DPrintf ("PEXT: Client supports 0x%x fte extensions2\n" , proto_value );
3011+ sv_client -> fteprotocolextensions2 = proto_value & svs .fteprotocolextensions2 ;
3012+ if (sv_client -> fteprotocolextensions2 )
3013+ Con_DPrintf ("PEXT: Client supports 0x%x fte extensions2\n" , sv_client -> fteprotocolextensions2 );
30123014 }
30133015 break ;
30143016#endif // PROTOCOL_VERSION_FTE2
You can’t perform that action at this time.
0 commit comments