1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-07-04 15:40:23 +02:00

Style: Break long line

This commit is contained in:
Lars Mueller
2020-10-11 14:06:43 +02:00
parent 78d358c6d7
commit 01b7c9604f

View File

@ -32,7 +32,8 @@ function player_api.register_model(name, def)
animation.collisionbox = animation.collisionbox or def.collisionbox
for _, other_animation in pairs(def.animations) do
if other_animation._equals then
if collisionbox_equals(animation.collisionbox, other_animation.collisionbox) and animation.eye_height == other_animation.eye_height then
if collisionbox_equals(animation.collisionbox, other_animation.collisionbox)
and animation.eye_height == other_animation.eye_height then
animation._equals = other_animation._equals
break
end