Dirty temp fix for tracers in CS1.6

This commit is contained in:
Wizzard
2023-09-19 14:46:59 -04:00
parent c7ee48dfa6
commit b29f71e597
5 changed files with 22 additions and 7 deletions

View File

@@ -108,6 +108,8 @@ void h_HUD_PostRunCmd(struct local_state_s* from, struct local_state_s* to,
unsigned int random_seed) {
ORIGINAL(HUD_PostRunCmd, from, to, cmd, runfuncs, time, random_seed);
g_flCurrentTime = time;
/* Store attack information to check if we can shoot */
if (runfuncs) {
g_flNextAttack = to->client.m_flNextAttack;