Debug action: crash the game

This commit is contained in:
2025-03-06 19:24:41 -06:00
committed by Celtic Minstrel
parent 4cc6d7efb9
commit 14c36ed5a8
5 changed files with 31 additions and 1 deletions

View File

@@ -66,6 +66,8 @@ cKey charToKey(char ch) {
return {false, w('/'), mod_shift};
case '~':
return {false, w('`'), mod_shift};
case '\\':
return {false, w('\\'), mod_none};
}
throw std::string {"Tried to convert unsupported char '"} + ch + "' to cKey!";
}