Author: cazfi
Date: Mon May  8 15:50:59 2017
New Revision: 35462

URL: http://svn.gna.org/viewcvs/freeciv?rev=35462&view=rev
Log:
threxpr: do world object idex_init() / idex_free()

See hrm Feature #658118

Modified:
    trunk/ai/threxpr/texaiworld.c

Modified: trunk/ai/threxpr/texaiworld.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/ai/threxpr/texaiworld.c?rev=35462&r1=35461&r2=35462&view=diff
==============================================================================
--- trunk/ai/threxpr/texaiworld.c       (original)
+++ trunk/ai/threxpr/texaiworld.c       Mon May  8 15:50:59 2017
@@ -16,6 +16,7 @@
 #endif
 
 /* common */
+#include "idex.h"
 #include "map.h"
 #include "world_object.h"
 
@@ -40,6 +41,7 @@
 {
   map_init(&(texai_world.map), TRUE);
   map_allocate(&(texai_world.map));
+  idex_init(&texai_world);
 }
 
 /**************************************************************************
@@ -48,6 +50,7 @@
 void texai_world_close(void)
 {
   map_free(&(texai_world.map));
+  idex_free(&texai_world);
 }
 
 /**************************************************************************


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

Reply via email to