From 8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 31 Mar 2022 23:41:46 +0200 Subject: Moved HINST and HWND from Game to GameWinDX9 --- Stars45/StarServer.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'Stars45/StarServer.cpp') diff --git a/Stars45/StarServer.cpp b/Stars45/StarServer.cpp index ceaa5ca..a03bd15 100644 --- a/Stars45/StarServer.cpp +++ b/Stars45/StarServer.cpp @@ -88,7 +88,6 @@ admin_server(0), lobby_server(0) "The file 'shatter.dat' appears to have been damaged. Please re-install Starshatter." : "Starshatter cannot open the file 'shatter.dat'. Please re-install Starshatter."; - ::MessageBox(hwnd, err_msg, "Starshatter - Error", MB_OK); ::Print(err_msg); ::Print("\n\nFATAL ERROR: EXIT."); exit(-1); @@ -342,7 +341,6 @@ StarServer::UpdateWorld() static DWORD refresh_time = 0; if (Clock::GetInstance()->RealTime() - refresh_time > 1000) { refresh_time = Clock::GetInstance()->RealTime(); - RedrawWindow(hwnd, 0, 0, RDW_ERASE|RDW_INVALIDATE); } } -- cgit v1.1