new menu background image
This commit is contained in:
parent
49541d26d6
commit
06b22c35f6
BIN
menu/background.png
Normal file
BIN
menu/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 606 KiB |
BIN
menu/header.png
BIN
menu/header.png
Binary file not shown.
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 110 B |
@ -67,7 +67,7 @@ function mobs.register_mob(name, def)
|
||||
self.object:setyaw(yaw)
|
||||
|
||||
|
||||
if minetest.line_of_sight(self.object:getpos(), obj:getpos(), 1) then
|
||||
if minetest.line_of_sight(vector.add(self.object:getpos(), vector.new(0, 0.5, 0)), vector.add(obj:getpos(), vector.new(0, 0.5, 0)), 1) then
|
||||
obj:punch(self.object, 10, def.dmg, nil)
|
||||
found = true
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user