hasLos typo in primal-magic.lua

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

hasLos typo in primal-magic.lua

#1 Post by Noel »

In game/modules/tome/data/talents/cursed/primal-magic.lua, hasLOS is miscapitalized as hasLos:

Code: Select all

===================================================================
--- game/modules/tome/data/talents/cursed/primal-magic.lua      (revision 4754)
+++ game/modules/tome/data/talents/cursed/primal-magic.lua      (working copy)
@@ -116,7 +116,7 @@
                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 ...

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: hasLos typo in primal-magic.lua

#2 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply