[wesnoth-commits] [wesnoth/wesnoth] 85c292: Fix a Visual Studio compiler warning

Jyrki Vesterinen noreply at github.com
Thu Apr 18 19:23:28 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 85c2928fdefbb50055de13e892d432bf91bc0927
      https://github.com/wesnoth/wesnoth/commit/85c2928fdefbb50055de13e892d432bf91bc0927
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2019-04-18 (Thu, 18 Apr 2019)

  Changed paths:
    M src/units/abilities.cpp

  Log Message:
  -----------
  Fix a Visual Studio compiler warning

Two variables called "name" were in scope simultaneously and one
shadowed the other.


  Commit: ac6895feaad3ee6f68859929234ec20be5e75df8
      https://github.com/wesnoth/wesnoth/commit/ac6895feaad3ee6f68859929234ec20be5e75df8
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2019-04-18 (Thu, 18 Apr 2019)

  Changed paths:
    M src/sound.cpp

  Log Message:
  -----------
  Fix [music] ms_after= setting fade-out time of *previous* track

It's supposed to set the fade-out time of the track *itself*.

For this, play_music() needs to look at the track which is *being faded
out*, not the one that's *about to start playing*.


Compare: https://github.com/wesnoth/wesnoth/compare/3b36a4490a14...ac6895feaad3



More information about the Commits mailing list