[wesnoth-commits] [wesnoth/wesnoth] 711e9a: Clamp tod_color values in the [-510, 510] range in...

GitHub noreply at github.com
Mon May 21 01:13:33 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 711e9a287d0a578de4daa4820866af6ff4321315
      https://github.com/wesnoth/wesnoth/commit/711e9a287d0a578de4daa4820866af6ff4321315
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-05-20 (Sun, 20 May 2018)

  Changed paths:
    M changelog.md
    M src/time_of_day.hpp

  Log Message:
  -----------
  Clamp tod_color values in the [-510, 510] range instead of [-255, 255]

[color_adjust] needs to be able to use absolute values as large as
2*255 in certain edge cases to set the screen a single solid colour when
interacting with time of day colour shifts.

Fixes #3144.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list