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

View File

@@ -27,6 +27,7 @@
#include <iostream>
#include <fstream>
#include "StringUtils.h"
#include "FindFile.h"
#define SELMOVE_SPD 3
@@ -64,7 +65,7 @@ short loadResourcesforStartMenu(stCloneKeenPlus *pCKP, CGame *Game)
{
std::string line;
std::ifstream gamescfg("data/games.cfg");
std::ifstream gamescfg; OpenGameFileR(gamescfg, "data/games.cfg");
if (gamescfg.is_open())
{