From 7e0640b1a449589ecd0fd31fc0038583b4170af9 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Sun, 12 Mar 2023 01:46:13 +0500 Subject: [PATCH] Restore g_physfuncs definition. --- dlls/h_export.cpp | 1 + dlls/util.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/dlls/h_export.cpp b/dlls/h_export.cpp index 0feb67c5..58016dad 100644 --- a/dlls/h_export.cpp +++ b/dlls/h_export.cpp @@ -28,6 +28,7 @@ // Holds engine functionality callbacks enginefuncs_t g_engfuncs; globalvars_t *gpGlobals; +server_physics_api_t g_physfuncs; #if _WIN32 diff --git a/dlls/util.h b/dlls/util.h index cf28e18d..6309701f 100644 --- a/dlls/util.h +++ b/dlls/util.h @@ -26,6 +26,10 @@ #include "enginecallback.h" #endif +#ifndef PHYSCALLBACK_H +#include "physcallback.h" +#endif + #include #include inline void MESSAGE_BEGIN( int msg_dest, int msg_type, const float *pOrigin, entvars_t *ent ); // implementation later in this file