Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1585034
 поиск   регистрация   авторизация 
 
Группа :: Игры/Стратегия
Пакет: freeciv

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

Патч: freeciv-2.0.0-alt-revolt.patch


--- freeciv-2.0.0/server/plrhand.c.orig	2004-12-09 19:37:33 +0300
+++ freeciv-2.0.0/server/plrhand.c	2004-12-16 19:26:20 +0300
@@ -926,8 +926,9 @@
 	  pplayer->name, get_government_name(pplayer->target_government),
 	  pplayer->revolution_finishes, game.turn);
   notify_player_ex(pplayer, NULL, E_REVOLT_START,
-		   _("Game: The %s have incited a revolt!"),
-		   get_nation_name_plural(pplayer->nation));
+		   _("Game: The %s have incited a %d-turn revolt!"),
+		   get_nation_name_plural(pplayer->nation),
+		   (pplayer->revolution_finishes - game.turn));
   gamelog(GAMELOG_REVOLT, pplayer);
 
   /* Now see if the revolution is instantaneous. */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005