buy -> purc. They'll thank us later

This commit is contained in:
2025-01-23 20:29:06 -06:00
parent cb9e43519f
commit 9a9df8e7fa

View File

@@ -945,6 +945,14 @@ static bool check_talk_key(cDialog& me, std::string item_hit, bool losing) {
}
return true;
}
// I'll always have trouble remembering that it should be 'purc'.
// So why not make it easy?
if(key == "buy"){
me[item_hit].setText("purc");
return true;
}
if(key.length() != 4) passes = false;
for(size_t i = 0; i < 4; i++) {
if(i < key.length() && !islower(key[i]))