2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 18:05:23 +01:00

Revert "Do not precache sounds for xash3d-only builds."

This reverts commit 9a6ef538b6.
This commit is contained in:
Andrey Akhmichin 2021-04-19 03:11:56 +05:00
parent 9a6ef538b6
commit 936a303813

View File

@ -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)