Fixed start menu bug for unreachable entries. Fixed string problems with CLogFile under hq_sound.cpp

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@122 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
gerstrong
2009-07-23 17:01:12 +00:00
parent c51752a6bb
commit f78dffb5e2
4 changed files with 19 additions and 9 deletions

View File

@@ -167,10 +167,11 @@ int main(int argc, char *argv[])
if(!CKP.Control.skipstarting)
{
if(loadStartMenu(&CKP) == 1)
while(!loadStartMenu(&CKP))
{
cleanupResources(&CKP);
return 0;
g_pLogFile->textOut(PURPLE,"Error! You have chosen a Game that doesn't exist. Please correct the \"games.cfg\" File under \"data\" and choose another game.<br>");
//cleanupResources(&CKP);
//return 0;
}
}