great bows should be allowed for all, not just elves
This commit is contained in:
Enno Rehling 2010-08-17 23:34:50 -07:00
parent 63fdc369f0
commit 320bcb2121
1 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
function item_canuse(u, iname) function item_canuse(u, iname)
local race = u.race -- local race = u.race
if iname=="greatbow" then -- if iname=="greatbow" then
-- only elves use greatbow -- -- only elves use greatbow
return race=="elf" -- return race=="elf"
end -- end
return true return true
end end