Core.rotate_and_place: Remove unused call to get_look_pitch()
authorAuke Kok <sofar@foo-projects.org>
Thu, 27 Oct 2016 20:59:32 +0000 (13:59 -0700)
committerparamat <mat.gregory@virginmedia.com>
Mon, 31 Oct 2016 10:55:36 +0000 (10:55 +0000)
builtin/common/misc_helpers.lua

index e4653d41dda1c53642f809a68594ffb0fde239f3..c2dc7514d71118dcdbb8d321ad67549676a59394 100644 (file)
@@ -382,7 +382,6 @@ if INIT == "game" then
                                        itemstack, pointed_thing)
                        return
                end
-               local pitch = placer:get_look_pitch()
                local fdir = core.dir_to_facedir(placer:get_look_dir())
                local wield_name = itemstack:get_name()