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
This commit is contained in:
mcmartin
2007-01-14 03:38:27 +00:00
parent 0b8f5a36d2
commit 312cb8bcea
+1
View File
@@ -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 ();