From 31d572af12d47a0df5b62b943fc6acee446bc567 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Mon, 18 Apr 2011 02:31:36 +0000 Subject: [PATCH] - split apart crc mismatch faction names if string too long --- source/glest_game/menu/menu_state_connected_game.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index 8c5d3b24..02ad80dd 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -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]); }