Author: cazfi
Date: Sun Aug 21 09:05:23 2016
New Revision: 33658

URL: http://svn.gna.org/viewcvs/freeciv?rev=33658&view=rev
Log:
Removed city_change_size() assert causing compiler warning.

See patch #7634

Modified:
    trunk/server/cityturn.c

Modified: trunk/server/cityturn.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/cityturn.c?rev=33658&r1=33657&r2=33658&view=diff
==============================================================================
--- trunk/server/cityturn.c     (original)
+++ trunk/server/cityturn.c     Sun Aug 21 09:05:23 2016
@@ -961,8 +961,6 @@
                       struct player *nationality, const char *reason)
 {
   int change = size - city_size_get(pcity);
-
-  fc_assert_ret_val(size <= MAX_CITY_SIZE, TRUE);
 
   if (change != 0 && reason != NULL) {
     script_server_signal_emit("city_size_change", 3,


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to