Skip to content

Commit

Permalink
client.cpp: Use macros for pfnPrecacheEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
Nord1cWarr1or committed Oct 23, 2024
1 parent 9b626b1 commit f493817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regamedll/dlls/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f493817

Please sign in to comment.