Author: cazfi
Date: Wed Aug  5 20:11:57 2015
New Revision: 29343

URL: http://svn.gna.org/viewcvs/freeciv?rev=29343&view=rev
Log:
Clear ShowFlag extras cache when unloading ruleset.

Reported by Jacob Nevins <jtn>

See bug #23744

Modified:
    branches/S2_6/client/tilespec.c

Modified: branches/S2_6/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/tilespec.c?rev=29343&r1=29342&r2=29343&view=diff
==============================================================================
--- branches/S2_6/client/tilespec.c     (original)
+++ branches/S2_6/client/tilespec.c     Wed Aug  5 20:11:57 2015
@@ -6342,6 +6342,11 @@
       t->style_lists[i] = extra_type_list_new();
     }
   }
+
+  if (t->flagged_bases_list != NULL) {
+    extra_type_list_destroy(t->flagged_bases_list);
+    t->flagged_bases_list = extra_type_list_new();
+  }
 }
 
 /****************************************************************************


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

Reply via email to