integrated searchpath system

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@149 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-24 15:22:28 +00:00
parent 60bce8a456
commit 742176416b
18 changed files with 68 additions and 42 deletions

View File

@@ -510,7 +510,7 @@ char SaveOptions[NUM_OPTIONS];
// open the demo file
sprintf(filename, "ep%ddemo%d.dat", p_levelcontrol->episode, demonum);
demofile = fopen(filename, "rb");
demofile = OpenGameFile(filename, "rb");
if (!demofile)
{
return DEMO_RESULT_FILE_BAD;