new menu background image

master
cale 2016-08-01 12:02:17 +02:00
parent 49541d26d6
commit 06b22c35f6
3 changed files with 1 additions and 1 deletions

BIN
menu/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 110 B

View File

@ -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