diff --git a/src/guiengine/engine.hpp b/src/guiengine/engine.hpp index 3e11ac12d..acad0395a 100644 --- a/src/guiengine/engine.hpp +++ b/src/guiengine/engine.hpp @@ -102,7 +102,6 @@ namespace GUIEngine /** Widgets that need to be notified at every frame can add themselves there (FIXME: unclean) */ extern PtrVector needsUpdate; - extern PtrVector g_loaded_screens; /** * \brief Call this method to init the GUI engine. diff --git a/src/states_screens/kart_selection.cpp b/src/states_screens/kart_selection.cpp index 5a17d01e1..bc67fb008 100644 --- a/src/states_screens/kart_selection.cpp +++ b/src/states_screens/kart_selection.cpp @@ -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; diff --git a/src/states_screens/kart_selection.hpp b/src/states_screens/kart_selection.hpp index 1f8c97d60..273f339a4 100644 --- a/src/states_screens/kart_selection.hpp +++ b/src/states_screens/kart_selection.hpp @@ -62,7 +62,7 @@ protected: friend class GUIEngine::ScreenSingleton; 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;