From 479b953c11ddf5d11c0f1f626995a3d402e6d9dd Mon Sep 17 00:00:00 2001 From: hgn Date: Wed, 31 May 2023 18:02:22 +0100 Subject: [PATCH 1/1] fix server code error --- server.c | 2 +- world_info.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/server.c b/server.c index 5e13355..3dd6021 100644 --- a/server.c +++ b/server.c @@ -304,7 +304,7 @@ static void poll_connections(void) on_inet_set_score( msg ); else { vg_warn( "Unknown inetmsg_id recieved from client. (%u)\n", - temp->inetmsg_id ); + tmp->inetmsg_id ); } SteamAPI_SteamNetworkingMessage_t_Release( msg ); diff --git a/world_info.h b/world_info.h index 6b9d620..0d2be39 100644 --- a/world_info.h +++ b/world_info.h @@ -5,8 +5,6 @@ #ifndef WORLD_INFO_H #define WORLD_INFO_H -#include "world.h" - /* Purely an information header, shares common strings across client and * server programs. */ -- 2.25.1