Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37407253
en ru br
Репозитории ALT

Группа :: Игры/Стратегия
Пакет: 7kaa

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: OGAMEMP.patch
Скачать


diff --git a/7kaa/src/client/OGAMEMP.cpp b/7kaa/src/client/OGAMEMP.cpp
index 6a54799..7272a99 100644
--- a/7kaa/src/client/OGAMEMP.cpp
+++ b/7kaa/src/client/OGAMEMP.cpp
@@ -4966,7 +4966,7 @@ int Game::mp_select_load_option(char *fileName)
 					String str;
 
 					snprintf(str,
-						 255,
+						 9,
 						 ngettext("This multiplayer saved game needs %d human players while now there is only %d human player.",
 							  "This multiplayer saved game needs %d human players while now there are only %d human players.",
 							  regPlayerCount),
@@ -5123,7 +5123,7 @@ int Game::mp_select_load_option(char *fileName)
 				String str;
 
 				snprintf(str,
-					 255,
+					 9,
 					 ngettext("This multiplayer saved game needs %d human players while now there is only %d human player.",
 						  "This multiplayer saved game needs %d human players while now there are only %d human players.",
 						  playerCount),
@@ -5141,7 +5141,7 @@ int Game::mp_select_load_option(char *fileName)
 			{
 				String str;
 
-				snprintf(str, 255, _("This multiplayer saved game can only support %d human players while now there are %d human players. The game cannot start."), maxPlayer, playerCount);
+				snprintf(str, 9, _("This multiplayer saved game can only support %d human players while now there are %d human players. The game cannot start."), maxPlayer, playerCount);
 
 				box.msg(str);
 				return 0;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin