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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user