- split apart crc mismatch faction names if string too long

This commit is contained in:
Mark Vejvoda 2011-04-18 02:31:36 +00:00
parent 05847617e6
commit 31d572af12
1 changed files with 3 additions and 0 deletions

View File

@ -1391,6 +1391,9 @@ void MenuStateConnectedGame::update() {
if(mismatchedFactionText != "") {
if(mismatchedFactionTextList.size() > 0) {
if(mismatchedFactionText != "") {
mismatchedFactionTextList.push_back(mismatchedFactionText);
}
for(unsigned int splitIdx = 0; splitIdx < mismatchedFactionTextList.size(); ++splitIdx) {
clientInterface->sendTextMessage(mismatchedFactionTextList[splitIdx],-1,localEcho,languageList[i]);
}