[wesnoth-commits] [wesnoth/wesnoth] 4450da: ai_helper.move_unit_out_of_way: prevent potential ...
GitHub
noreply at github.com
Mon Oct 22 02:27:54 UTC 2018
Branch: refs/heads/1.14
Home: https://github.com/wesnoth/wesnoth
Commit: 4450da2b807a2a7972ace2b85034c77359f1012b
https://github.com/wesnoth/wesnoth/commit/4450da2b807a2a7972ace2b85034c77359f1012b
Author: mattsc <mattsc000 at gmail.com>
Date: 2018-10-21 (Sun, 21 Oct 2018)
Changed paths:
M data/ai/lua/ai_helper.lua
Log Message:
-----------
ai_helper.move_unit_out_of_way: prevent potential for divide-by-zero
dx = dy = 0 is a perfectly acceptable choice of values when there is no preferred direction.
**NOTE:** This service has 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