summaryrefslogtreecommitdiffhomepage
path: root/Stars45/StarServer.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-31 23:41:46 +0200
committerAki <please@ignore.pl>2022-03-31 23:41:46 +0200
commit8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e (patch)
treefa3ba288acb3f589e16700256ade2b25c73526c9 /Stars45/StarServer.cpp
parentac54470e8aeddc2acf9ae215241c77a2bf7e33e3 (diff)
downloadstarshatter-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.cpp2
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);
}
}