From e372bd3f5a208dbf9f91dc1ea9934968061d9f4f Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Fri, 28 Jan 2005 22:19:09 +0000 Subject: [PATCH] Fixed probable mistyping. Removed apparently-unnecessary ScEd code. This was SVN commit r1855. --- source/main.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 14d5f764d9..0d55f86eb7 100755 --- a/source/main.cpp +++ b/source/main.cpp @@ -430,7 +430,7 @@ void EndGame() else if (g_NetClient) { delete g_NetClient; - g_NetServer=NULL; + g_NetClient=NULL; } delete g_Game; @@ -1322,14 +1322,9 @@ int main(int argc, char* argv[]) void ScEd_Init() { - char path[512]; - ::GetModuleFileName(0,path,512); - g_Quickstart = true; - char* argv[1]; - argv[0] = path; - Init(1, argv, false); + Init(0, NULL, false); } void ScEd_Shutdown()