Perhaps FileExists shouldn't erase file contents...
This commit is contained in:
parent
346e9d2168
commit
9f1301df5a
@ -230,7 +230,7 @@ bool Client::FileExists(std::string filename)
|
||||
bool exists = false;
|
||||
try
|
||||
{
|
||||
std::ofstream fileStream;
|
||||
std::ifstream fileStream;
|
||||
fileStream.open(string(filename).c_str(), ios::binary);
|
||||
if(fileStream.is_open())
|
||||
{
|
||||
|
Reference in New Issue
Block a user