Author: cazfi
Date: Sun Jun 26 09:16:25 2016
New Revision: 33030

URL: http://svn.gna.org/viewcvs/freeciv?rev=33030&view=rev
Log:
Undeprecated lua function create_base() 

See patch #7317

Modified:
    branches/S2_6/server/scripting/tolua_server.pkg

Modified: branches/S2_6/server/scripting/tolua_server.pkg
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/scripting/tolua_server.pkg?rev=33030&r1=33029&r2=33030&view=diff
==============================================================================
--- branches/S2_6/server/scripting/tolua_server.pkg     (original)
+++ branches/S2_6/server/scripting/tolua_server.pkg     Sun Jun 26 09:16:25 2016
@@ -123,7 +123,6 @@
                    const char *name);
   void api_edit_create_extra
     @ create_extra (lua_State *L, Tile *ptile, const char *name);
-  /* Deprecated; use edit.create_extra() */
   void api_edit_create_base
     @ create_base (lua_State *L, Tile *ptile, const char *name,
                    Player *pplayer);
@@ -202,11 +201,10 @@
   edit.create_city (player, tile, name)
 end
 
--- Deprecated; use edit.create_extra()
+-- Deprecated; use edit.create_base()
 function create_base(tile, name, player)
   -- Out-of-namespace since 2.4
-  -- edit.create_base() -> edit.create_extra() since 2.6
-  log.deprecation_warning("create_base()", "edit.create_extra()",
+  log.deprecation_warning("create_base()", "edit.create_base()",
                           "2.4");
   edit.create_base(tile, name, player)
 end
@@ -333,10 +331,7 @@
   edit.create_extra(self, name)
 end
 
--- Deprecated; use Tile:create_extra()
 function Tile:create_base(name, player)
-  log.deprecation_warning("Tile:create_base()", "Tile:create_extra()",
-                          "2.6");
   edit.create_base(self, name, player)
 end
 


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

Reply via email to