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

GitHub noreply at github.com
Mon May 21 01:12:48 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ae127ea73a27ac1df37b065169810833774452de
      https://github.com/wesnoth/wesnoth/commit/ae127ea73a27ac1df37b065169810833774452de
  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