From 312cb8bceacfba763dafe3a4a564f4c19263500b Mon Sep 17 00:00:00 2001 From: mcmartin Date: Sun, 14 Jan 2007 03:38:27 +0000 Subject: [PATCH] Froperly exit with failure if the content directory is found but the kernel data is not. This is necessary for the error messages to be visible in Windows. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2663 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/starcon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sc2/src/sc2code/starcon.c b/sc2/src/sc2code/starcon.c index c7db6d5a0..8cbbe6fa6 100644 --- a/sc2/src/sc2code/starcon.c +++ b/sc2/src/sc2code/starcon.c @@ -281,6 +281,7 @@ while (--ac > 0) log_add (log_Fatal, "This file is typically called uqm-%d.%d.0.uqm. UQM was expecting it", UQM_MAJOR_VERSION, UQM_MINOR_VERSION); log_add (log_Fatal, "in the %s/packages directory.", baseContentPath); log_add (log_Fatal, "Either your installation did not install the content pack at all, or it\ninstalled it in a different directory.\n\nFix your installation and rerun UQM.\n\n *******************\n"); + exit (EXIT_FAILURE); } FreeKernel ();