Added more guards and debug info related to network play

This commit is contained in:
Mark Vejvoda
2010-04-29 07:59:44 +00:00
parent 805015fd83
commit 4f147b2d89
9 changed files with 140 additions and 92 deletions

View File

@@ -52,11 +52,12 @@ void Checksum::addString(const string &value){
}
void Checksum::addFile(const string &path){
fileList[path] = 0;
if(path != "") {
fileList[path] = 0;
}
}
void Checksum::addFileToSum(const string &path){
FILE* file= fopen(path.c_str(), "rb");
if(file!=NULL){