From 535ea846a9832927dfcb71a372423ea3ac50d793 Mon Sep 17 00:00:00 2001 From: Nord1cWarr1or Date: Wed, 23 Oct 2024 16:08:29 +0000 Subject: [PATCH] client.cpp: Use macros for pfnPrecacheEvent (#1019) --- 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 bc223ed7..198afbfb 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()