Change the voice prompts a little.

This commit is contained in:
Jonathan Naylor
2017-09-29 23:09:35 +01:00
parent b72539dab1
commit ffda76dc74
2 changed files with 21 additions and 26 deletions

View File

@@ -140,7 +140,9 @@ void CVoice::linkedTo(unsigned int number, unsigned int room)
words.push_back(std::string(1U, letters[0U]));
words.push_back(std::string(1U, letters[1U]));
words.push_back(std::string(1U, letters[2U]));
words.push_back(std::string(1U, 'A' + room - 1U));
if (room >= 1U && room <= 26U)
words.push_back(std::string(1U, 'A' + room - 1U));
createVoice(words);
}