From 936a303813d441bd718195184bde013aac9e4f16 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin Date: Mon, 19 Apr 2021 03:11:56 +0500 Subject: [PATCH] Revert "Do not precache sounds for xash3d-only builds." This reverts commit 9a6ef538b6be879b9f6e396fb4614da9205f615d. --- dlls/enginecallback.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/enginecallback.h b/dlls/enginecallback.h index 19e9b33d..a9e37c26 100644 --- a/dlls/enginecallback.h +++ b/dlls/enginecallback.h @@ -28,11 +28,7 @@ extern enginefuncs_t g_engfuncs; // The actual engine callbacks #define GETPLAYERUSERID (*g_engfuncs.pfnGetPlayerUserId) #define PRECACHE_MODEL (*g_engfuncs.pfnPrecacheModel) -#ifdef GOLDSOURCE_SUPPORT #define PRECACHE_SOUND (*g_engfuncs.pfnPrecacheSound) -#else -#define PRECACHE_SOUND(x) -#endif #define PRECACHE_GENERIC (*g_engfuncs.pfnPrecacheGeneric) #define SET_MODEL (*g_engfuncs.pfnSetModel) #define MODEL_INDEX (*g_engfuncs.pfnModelIndex)