clarified highscore submission when internet connection fails

This commit is contained in:
2011-03-16 23:21:22 +01:00
parent 21239c9962
commit e2fd3393d3
4 changed files with 53 additions and 43 deletions
+2 -1
View File
@@ -100,11 +100,12 @@ bool Variable::ParseBoolValue (std::string value) {
unsigned int i;
for (i = 0; i < value.size(); i++)
value[i] = tolower (value[i]);
// std::transform (value.begin(), value.end(), value.begin(), ::tolower);
if (value == "true"
|| value == "yes")
return true;
return false;
}
/*