all ifstream/ofstream uses searchpath system

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@152 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-24 15:53:49 +00:00
parent d914e49e8d
commit 37625747ee
6 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
#include <fstream>
#include <vector>
#include "../StringUtils.h"
#include "../FindFile.h"
using namespace std;
@@ -62,7 +62,7 @@ bool CEGAGraphics::loadData()
buf = "egahead.ck" + itoa(m_episode);
else
buf = m_path + "/egahead.ck" + itoa(m_episode);
std::ifstream HeadFile(buf.c_str(),ios::binary);
std::ifstream HeadFile; OpenGameFileR(HeadFile, buf, ios::binary);
if(!HeadFile)
return false;