[wesnoth-commits] [wesnoth/wesnoth] 1f374d: HTTT: don't change unit id

Andrey Bienkowski noreply at github.com
Mon Jan 18 20:18:33 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1f374dd0a7674b443c70f1ac567cedb5c3a4e5b2
      https://github.com/wesnoth/wesnoth/commit/1f374dd0a7674b443c70f1ac567cedb5c3a4e5b2
  Author: Andrey Bienkowski <hexagonrecursion at gmail.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M data/campaigns/Heir_To_The_Throne/scenarios/05b_Isle_of_the_Damned.cfg

  Log Message:
  -----------
  HTTT: don't change unit id

05b_Isle_of_the_Damned was using black magic: [store_unit] plus [set_variable] to change a unit's id. This confused wmllint. This is also just unnecessarily complicated since there are two more conventional ways to refer to the same unit: role=Advisor and id=$hidden_advisor.id





More information about the Commits mailing list