diff options
author | Aki <please@ignore.pl> | 2022-03-31 23:41:46 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-31 23:41:46 +0200 |
commit | 8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e (patch) | |
tree | fa3ba288acb3f589e16700256ade2b25c73526c9 /Stars45/StarServer.cpp | |
parent | ac54470e8aeddc2acf9ae215241c77a2bf7e33e3 (diff) | |
download | starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.zip starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.tar.gz starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.tar.bz2 |
Moved HINST and HWND from Game to GameWinDX9
Diffstat (limited to 'Stars45/StarServer.cpp')
-rw-r--r-- | Stars45/StarServer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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); } } |