From f4938178daf36faffed17be3624ace2c304a4a17 Mon Sep 17 00:00:00 2001 From: Nord1cWarr1or Date: Wed, 23 Oct 2024 15:27:48 +0300 Subject: [PATCH] client.cpp: Use macros for pfnPrecacheEvent --- regamedll/dlls/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/client.cpp b/regamedll/dlls/client.cpp index bc223ed7d..198afbfbe 100644 --- a/regamedll/dlls/client.cpp +++ b/regamedll/dlls/client.cpp @@ -4296,7 +4296,7 @@ void ClientPrecache() PRECACHE_GENERIC("sprites/scope_arc_ne.tga"); PRECACHE_GENERIC("sprites/scope_arc_sw.tga"); - m_usResetDecals = g_engfuncs.pfnPrecacheEvent(1, "events/decal_reset.sc"); + m_usResetDecals = PRECACHE_EVENT(1, "events/decal_reset.sc"); } const char *EXT_FUNC GetGameDescription()