Remove unneeded hacks

This commit is contained in:
CodingJellyfish 2024-04-24 23:32:34 +08:00
parent e0be4cfc4f
commit 0dffd116a9
3 changed files with 1 additions and 3 deletions

View File

@ -102,7 +102,6 @@ namespace GUIEngine
/** Widgets that need to be notified at every frame can add themselves there (FIXME: unclean) */
extern PtrVector<Widget, REF> needsUpdate;
extern PtrVector<Screen, REF> g_loaded_screens;
/**
* \brief Call this method to init the GUI engine.

View File

@ -65,7 +65,6 @@ static const char ID_DONT_USE[] = "x";
static const char ID_LOCKED[] = "locked/";
KartSelectionScreen* KartSelectionScreen::m_instance_ptr = NULL;
bool KartSelectionScreen::m_multiplayer = false;
int g_root_id;

View File

@ -62,7 +62,7 @@ protected:
friend class GUIEngine::ScreenSingleton<KartSelectionScreen>;
friend class GUIEngine::PlayerKartWidget;
static bool m_multiplayer;
bool m_multiplayer;
/** Whether this screen is being visited from overworld or not */
bool m_from_overworld;