Author: cazfi
Date: Sun Mar  8 01:13:05 2015
New Revision: 28460

URL: http://svn.gna.org/viewcvs/freeciv?rev=28460&view=rev
Log:
List terrain specific extra build time in terrain help pages.

See patch #5892

Modified:
    branches/S2_6/server/rssanity.c

Modified: branches/S2_6/server/rssanity.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/rssanity.c?rev=28460&r1=28459&r2=28460&view=diff
==============================================================================
--- branches/S2_6/server/rssanity.c     (original)
+++ branches/S2_6/server/rssanity.c     Sun Mar  8 01:13:05 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

Reply via email to