Browse Source

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

This reverts commit 9a6ef538b6.
hl_urbicide
Andrey Akhmichin 4 years ago
parent
commit
936a303813
  1. 4
      dlls/enginecallback.h

4
dlls/enginecallback.h

@ -28,11 +28,7 @@ extern enginefuncs_t g_engfuncs;
// The actual engine callbacks // The actual engine callbacks
#define GETPLAYERUSERID (*g_engfuncs.pfnGetPlayerUserId) #define GETPLAYERUSERID (*g_engfuncs.pfnGetPlayerUserId)
#define PRECACHE_MODEL (*g_engfuncs.pfnPrecacheModel) #define PRECACHE_MODEL (*g_engfuncs.pfnPrecacheModel)
#ifdef GOLDSOURCE_SUPPORT
#define PRECACHE_SOUND (*g_engfuncs.pfnPrecacheSound) #define PRECACHE_SOUND (*g_engfuncs.pfnPrecacheSound)
#else
#define PRECACHE_SOUND(x)
#endif
#define PRECACHE_GENERIC (*g_engfuncs.pfnPrecacheGeneric) #define PRECACHE_GENERIC (*g_engfuncs.pfnPrecacheGeneric)
#define SET_MODEL (*g_engfuncs.pfnSetModel) #define SET_MODEL (*g_engfuncs.pfnSetModel)
#define MODEL_INDEX (*g_engfuncs.pfnModelIndex) #define MODEL_INDEX (*g_engfuncs.pfnModelIndex)

Loading…
Cancel
Save