From 8e1baf2ab09b3cdf652c49e3b61b5d09a033f5b8 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 5 Jun 2026 20:06:59 +0200 Subject: [PATCH] SV_SendFile: check if I_GetNodeAddress is set before use --- src/d_netfil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_netfil.c b/src/d_netfil.c index b91ef1534..ef498a526 100644 --- a/src/d_netfil.c +++ b/src/d_netfil.c @@ -691,7 +691,7 @@ static boolean SV_SendFile(INT32 node, const char *filename, UINT8 fileid) char wadfilename[MAX_WADPATH]; - if (cv_noticedownload.value) + if (cv_noticedownload.value && I_GetNodeAddress) CONS_Printf("Sending file \"%s\" (id %d) to node %d (%s)\n", filename, fileid, node, I_GetNodeAddress(node)); // Find the last file in the list and set a pointer to its "next" field