Skip to content
Snippets Groups Projects
Commit 42c058dd authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4756 51575b47-30f0-44d4-a5cc-537603b46e54
parent 0d87fa6c
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ newTalent{
game.logPlayer(self, "Selects a displacement location...")
local tg = {type="ball", nolock=true, pass_terrain=false, nowarning=true, range=range, radius=0}
x, y = self:getTarget(tg)
if not x or not self:hasLos(x, y) then return nil end
if not x or not self:hasLOS(x, y) then return nil end
-- Target code does not restrict the target coordinates to the range, it lets the project function do it
-- but we cant ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment