From 195f9831af6cb8f20a9df6c28d7a1acc3e0e75ca Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Sat, 22 Jul 2023 16:23:15 +0200 Subject: [PATCH] Change features.h includes --- src/features/esp.c | 4 +--- src/features/movement.c | 2 +- src/hooks.c | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/features/esp.c b/src/features/esp.c index 4c6e0d2..620e011 100644 --- a/src/features/esp.c +++ b/src/features/esp.c @@ -1,11 +1,9 @@ -#include "include/esp.h" +#include "features.h" #include "../include/globals.h" #include "../include/cvars.h" #include "../include/util.h" -/* TODO: Replace src/features/include/X.h -> src/features/features.h */ - void esp(void) { if (!CVAR_ON(esp)) return; diff --git a/src/features/movement.c b/src/features/movement.c index 95b4b32..aef38bc 100644 --- a/src/features/movement.c +++ b/src/features/movement.c @@ -1,7 +1,7 @@ #include -#include "include/movement.h" +#include "features.h" #include "../include/sdk.h" #include "../include/globals.h" #include "../include/cvars.h" diff --git a/src/hooks.c b/src/hooks.c index bd88fc4..ace9721 100644 --- a/src/hooks.c +++ b/src/hooks.c @@ -3,8 +3,8 @@ #include "include/sdk.h" #include "include/globals.h" -#include "features/include/movement.h" -#include "features/include/esp.h" +/* bhop(), esp(), etc. */ +#include "features/features.h" DECL_HOOK(CL_CreateMove); DECL_HOOK(HUD_Redraw);