diff --git a/src/features/chams.c b/src/features/chams.c index 19b811e..40edfb3 100644 --- a/src/features/chams.c +++ b/src/features/chams.c @@ -6,14 +6,7 @@ #include -enum visible_flags { - NONE = 0, - VISIBLE = 1, - NOT_VISIBLE = 2, - /* TODO: HANDS */ -}; - -static visible_flags visible_mode; +visible_flags visible_mode; bool chams(void* this_ptr) { if (!CVAR_ON(chams)) diff --git a/src/features/features.h b/src/features/features.h index ff11684..06811ba 100644 --- a/src/features/features.h +++ b/src/features/features.h @@ -4,6 +4,15 @@ #include "../include/sdk.h" +enum visible_flags { + NONE = 0, + VISIBLE = 1, + NOT_VISIBLE = 2, + /* TODO: HANDS */ +}; + +/*----------------------------------------------------------------------------*/ + /* src/features/movement.c */ void bhop(usercmd_t* cmd); @@ -12,6 +21,7 @@ void esp(void); void correct_movement(usercmd_t* cmd, vec3_t old_angles); /* src/features/chams.c */ +extern visible_flags visible_mode; bool chams(void* this_ptr); #endif /* FEATURES_H_ */