[wesnoth-commits] [wesnoth/wesnoth] d17dcf: Remove scaling by zoom_factor in unit height adjus...

Wedge009 noreply at github.com
Sat Sep 25 23:30:23 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d17dcff52249bb8506221bb38edb454b0391412f
      https://github.com/wesnoth/wesnoth/commit/d17dcff52249bb8506221bb38edb454b0391412f
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2021-09-26 (Sun, 26 Sep 2021)

  Changed paths:
    M src/units/drawer.cpp

  Log Message:
  -----------
  Remove scaling by zoom_factor in unit height adjustment calculation (resolves #5974).

It appears double zoom_factor scaling results in units being drawn way off their actual hex at high zoom, for tiles with a large (~20 pixels) unit height offset parameter.





More information about the Commits mailing list