mirror of
https://github.com/glest/glest-source.git
synced 2025-08-28 18:29:48 +02:00
Added more guards and debug info related to network play
This commit is contained in:
@@ -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){
|
||||
|
||||
|
Reference in New Issue
Block a user