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 */