Cheats: Enable for any non-zero number.

This commit is contained in:
Unknown W. Brackets 2017-11-08 06:51:25 -08:00
parent c62a53c223
commit bf4f5a102e

View file

@ -150,7 +150,7 @@ void CheatFileParser::ParseLine(const std::string &line) {
case 'C':
// Cheat name and activation status.
if (line.length() >= 3 && line[2] == '1') {
if (line.length() >= 3 && line[2] >= '1' && line[2] <= '9') {
cheatEnabled_ = true;
} else if (line.length() >= 3 && line[2] == '0') {
cheatEnabled_ = false;