From c9e4e624747feaa7f2bb48e198890d5a2ab862c7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 1 Dec 2022 00:35:05 +0300 Subject: [PATCH] engine: client: allow IPv6 in NetAPI --- engine/client/cl_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_game.c b/engine/client/cl_game.c index 7a054b18..efa03828 100644 --- a/engine/client/cl_game.c +++ b/engine/client/cl_game.c @@ -3360,7 +3360,7 @@ void GAME_EXPORT NetAPI_SendRequest( int context, int request, int flags, double return; } - if( remote_address->type >= NA_IPX ) + if( remote_address->type != NA_IPX && remote_address->type != NA_BROADCAST_IPX ) return; // IPX no longer support // find a free request