Commit 5fc5769bd244a4c67d44749f0b196129d7c3a943

Authored by dg
1 parent 278c2464

fix


git-svn-id: http://svn.net-core.org/repos/t-engine4@2880 51575b47-30f0-44d4-a5cc-537603b46e54
... ... @@ -50,7 +50,7 @@ newBirthDescriptor
50 50 "A Human hailing from the northern town of Derth. A common kind of man, unremarkable in all respects.",
51 51 },
52 52 copy = {
53   - default_wilderness = {1, 1, "wilderness-tutorial"},
  53 + default_wilderness = {1, 1, "wilderness"},
54 54 starting_zone = "tutorial",
55 55 starting_quest = "tutorial",
56 56 starting_intro = "tutorial",
... ...
... ... @@ -39,7 +39,7 @@ newTalent{
39 39 local x, y = self:getTarget(tg)
40 40 if not x or not y then return nil end
41 41 local _ _, x, y = self:canProject(tg, x, y)
42   - local target = game.level.map(px, py, engine.Map.ACTOR)
  42 + local target = game.level.map(x, y, engine.Map.ACTOR)
43 43 if not target then
44 44 game.logPlayer(self, "The target is out of range")
45 45 return
... ...