[wesnoth-commits] [wesnoth/wesnoth] 45d737: [world conquest] fix remaining deprecated code usage

Tahsin Jahin Khalid noreply at github.com
Sun May 2 22:06:40 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 45d7372e692baa5da4a7f59e66e9ae5271574ba7
      https://github.com/wesnoth/wesnoth/commit/45d7372e692baa5da4a7f59e66e9ae5271574ba7
  Author: Tahsin Jahin Khalid <tahsinjahinkhalid at gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M data/campaigns/World_Conquest/changelog.txt
    M data/campaigns/World_Conquest/lua/game_mechanics/effects.lua
    M data/campaigns/World_Conquest/lua/map/postgeneration/6D_Feudal.lua
    M data/campaigns/World_Conquest/lua/map/postgeneration_utils/engine.lua
    M data/campaigns/World_Conquest/lua/map/postgeneration_utils/events.lua
    M data/campaigns/World_Conquest/lua/map/postgeneration_utils/noise.lua

  Log Message:
  -----------
  [world conquest] fix remaining deprecated code usage

1. Fixed an un-added entry in the changelog
2. fixed the last 2 deprecation messages
3. removed instances of `wml.parsed` as it is no longer required.


  Commit: 0547941b13af0d21a075913a74bb27fb92b2c520
      https://github.com/wesnoth/wesnoth/commit/0547941b13af0d21a075913a74bb27fb92b2c520
  Author: Tahsin Jahin Khalid <tahsinjahinkhalid at gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M data/campaigns/World_Conquest/lua/game_mechanics/effects.lua
    M data/campaigns/World_Conquest/lua/map/postgeneration_utils/engine.lua

  Log Message:
  -----------
  [world conquest] Restored 2 instances of wml.parsed

1. removed the "cfg = cfg" thing
2. restored 2 instances of wml.parsed()

As for the wml.parsed() in line 74 of effects.lua, I chose to not re-add it as it causes an error.


Compare: https://github.com/wesnoth/wesnoth/compare/73c4e19ea218...0547941b13af



More information about the Commits mailing list