From 5412bc10447bc0154f6c813d029d5c1c1d835388 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 16 Feb 2022 23:36:18 +0100 Subject: Changed static members to instance for a Game singleton --- Stars45/StarServer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Stars45/StarServer.cpp') diff --git a/Stars45/StarServer.cpp b/Stars45/StarServer.cpp index 3a1a3df..ee65e53 100644 --- a/Stars45/StarServer.cpp +++ b/Stars45/StarServer.cpp @@ -73,8 +73,8 @@ admin_server(0), lobby_server(0) title_text = "Starserver"; palette_name = "alpha"; - Game::server = true; - Game::show_mouse = true; + server = true; + show_mouse = true; DataLoader::Initialize(); loader = DataLoader::GetLoader(); @@ -128,7 +128,7 @@ StarServer::~StarServer() instance = 0; - Game::server = false; + server = false; } // +--------------------------------------------------------------------+ -- cgit v1.1