diff --git a/UI/CwCheatScreen.cpp b/UI/CwCheatScreen.cpp index 567eab3f8d..8b4ba9d146 100644 --- a/UI/CwCheatScreen.cpp +++ b/UI/CwCheatScreen.cpp @@ -244,7 +244,7 @@ UI::EventReturn CwCheatScreen::OnImportCheat(UI::EventParams ¶ms) { if (line[0] == '_' && (line[1] == 'S' || line[1] == 'G') && title.size() < 2) { title.push_back(line); - } else if (parseCheatEntry && (line[0] == '_' && (line[1] == 'C' || line[1] == 'L')) || line[0] == '/' || line[0] == '#') { + } else if (parseCheatEntry && ((line[0] == '_' && (line[1] == 'C' || line[1] == 'L')) || line[0] == '/' || line[0] == '#')) { newList.push_back(line); } }