Jelajahi Sumber

MXE compile fix

Ivan Savenko 2 tahun lalu
induk
melakukan
6fd50a7ded
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      client/lobby/CBonusSelection.cpp

+ 2 - 1
client/lobby/CBonusSelection.cpp

@@ -92,7 +92,8 @@ CBonusSelection::CBonusSelection()
 	flagbox = std::make_shared<CFlagBox>(Rect(486, 407, 335, 23));
 
 	std::vector<std::string> difficulty;
-	boost::split(difficulty, CGI->generaltexth->allTexts[492], boost::is_any_of(" "));
+	std::string difficultyString = CGI->generaltexth->allTexts[492];
+	boost::split(difficulty, difficultyString, boost::is_any_of(" "));
 	labelDifficulty = std::make_shared<CLabel>(689, 432, FONT_MEDIUM, ETextAlignment::TOPLEFT, Colors::WHITE, difficulty.back());
 
 	for(size_t b = 0; b < difficultyIcons.size(); ++b)