Make visible_mode global

This commit is contained in:
8dcc
2023-07-25 14:46:25 +02:00
parent 6e39b49c4b
commit 889d9481aa
2 changed files with 11 additions and 8 deletions

View File

@@ -6,14 +6,7 @@
#include <GL/gl.h>
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))