clarified highscore submission when internet connection fails
This commit is contained in:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user