Author: cazfi Date: Sun Mar 8 01:12:58 2015 New Revision: 28459 URL: http://svn.gna.org/viewcvs/freeciv?rev=28459&view=rev Log: List terrain specific extra build time in terrain help pages.
See patch #5892 Modified: trunk/server/rssanity.c Modified: trunk/server/rssanity.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/rssanity.c?rev=28459&r1=28458&r2=28459&view=diff ============================================================================== --- trunk/server/rssanity.c (original) +++ trunk/server/rssanity.c Sun Mar 8 01:12:58 2015 @@ -430,6 +430,13 @@ } } + if (num_role_units(L_PARTISAN) == 0 + && effect_cumulative_max(EFT_INSPIRE_PARTISANS, NULL) > 0) { + ruleset_error(LOG_ERROR, + "Inspire_Partisans effect present, but no units with partisan role."); + return FALSE; + } + return TRUE; } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits