From 7a27ad2c6460b015e3922ab36011132d803a70ba Mon Sep 17 00:00:00 2001 From: Yimura Date: Sat, 26 Dec 2020 16:48:39 +0100 Subject: [PATCH] fix(Globals): Moved globals from features to big namespace --- BigBaseV2/src/features.hpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/BigBaseV2/src/features.hpp b/BigBaseV2/src/features.hpp index 821f04d4..16dd0be6 100644 --- a/BigBaseV2/src/features.hpp +++ b/BigBaseV2/src/features.hpp @@ -3,18 +3,21 @@ #include "structs/player.hpp" #include "structs/temp.hpp" -namespace big::features +namespace big { inline Player g_playerId; inline Player g_selectedPlayer = -1; inline player g_players[32]; - // Screen Width & Height - inline int x, y; - // Temporary Variable struct inline temp g_temp = temp{}; - void run_tick(); - void script_func(); + // Screen Width & Height + inline int x, y; + + namespace features + { + void run_tick(); + void script_func(); + } }