some more fixes

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@157 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-24 18:28:43 +00:00
parent f854745f9e
commit 01c6db1b9b
6 changed files with 24 additions and 18 deletions

View File

@@ -53,7 +53,7 @@ void cleanup(stCloneKeenPlus *CKP)
{
if(CKP->GameData){ delete[] CKP->GameData; CKP->GameData = NULL; }
g_pLogFile->ftextOut(BLACK,true," Freed %d strings.<br>", freestrings());
g_pLogFile->fltextOut(BLACK,true," Freed %d strings.<br>", freestrings());
JoyDrv_Stop(&(CKP->Joystick));
g_pLogFile->textOut(BLACK,true," Joystick driver shut down.<br>");
@@ -77,11 +77,11 @@ void cleanup(stCloneKeenPlus *CKP)
if (demofile)
{
fclose(demofile);
g_pLogFile->ftextOut(BLACK,true," Demo file closed.<br>");
g_pLogFile->fltextOut(BLACK,true," Demo file closed.<br>");
}
g_pGraphics->stopGraphics();
g_pLogFile->ftextOut(BLACK,true," Graphics driver shut down.<br>");
g_pLogFile->fltextOut(BLACK,true," Graphics driver shut down.<br>");
g_pGraphics->freemem();