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