From 7cf0b3049544e0d322064ed7c5ea6ad6bc50f899 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Mon, 31 Jul 2023 15:35:44 +0200 Subject: [PATCH] Add g_flNextAttack and g_flNextPrimaryAttack --- src/globals.c | 1 + src/include/globals.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/globals.c b/src/globals.c index 1ec3ad3..07a4108 100644 --- a/src/globals.c +++ b/src/globals.c @@ -10,6 +10,7 @@ game_id this_game_id = HL; vec3_t g_punchAngles = { 0, 0, 0 }; +float g_flNextAttack = 0.f, g_flNextPrimaryAttack = 0.f; void* hw; void** h_client; diff --git a/src/include/globals.h b/src/include/globals.h index ca042d1..1624985 100644 --- a/src/include/globals.h +++ b/src/include/globals.h @@ -35,6 +35,7 @@ enum game_id { extern game_id this_game_id; extern vec3_t g_punchAngles; +extern float g_flNextAttack, g_flNextPrimaryAttack; extern void* hw; extern void** h_client; /* hClientDLL hander */