diff --git a/changelog.md b/changelog.md index d60da1f231dd..fc24c4cf0093 100644 --- a/changelog.md +++ b/changelog.md @@ -225,6 +225,8 @@ * Fixed many crashes and out-of-sync errors when using the planning mode. * Fixed an occasional crash at the loading screen related to multi-thread access of the image cache. + * [kill] animate=yes no longer scrolls to units through fog or shroud, thus + matching 1.12's behavior again. ## Version 1.13.12 ### Security fixes diff --git a/data/lua/wml/kill.lua b/data/lua/wml/kill.lua index 8dc1d8e8c659..3f7839d7c8ec 100644 --- a/data/lua/wml/kill.lua +++ b/data/lua/wml/kill.lua @@ -42,7 +42,7 @@ function wesnoth.wml_actions.kill(cfg) wesnoth.fire_event("last breath", death_loc, killer_loc) end if cfg.animate and unit.valid == "map" then - wesnoth.scroll_to_tile(death_loc) + wesnoth.scroll_to_tile(death_loc, true) local anim = wesnoth.create_animator() local primary = wml.get_child(cfg, "primary_attack") local secondary = wml.get_child(cfg, "secondary_attack")