aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2016-10-27 13:59:32 -0700
committerparamat <mat.gregory@virginmedia.com>2016-10-31 10:55:36 +0000
commit380a4b6d60c3269d1d9c79c122ff5259989decd7 (patch)
tree7f808cf32e268075be2d90769a35a2fee0ef83c6 /builtin
parente1842ed370f7cab23e460979a08886b5df38e1b3 (diff)
downloadminetest-380a4b6d60c3269d1d9c79c122ff5259989decd7.tar.gz
minetest-380a4b6d60c3269d1d9c79c122ff5259989decd7.tar.bz2
minetest-380a4b6d60c3269d1d9c79c122ff5259989decd7.zip
Core.rotate_and_place: Remove unused call to get_look_pitch()
Diffstat (limited to 'builtin')
-rw-r--r--builtin/common/misc_helpers.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua
index e4653d41d..c2dc7514d 100644
--- a/builtin/common/misc_helpers.lua
+++ b/builtin/common/misc_helpers.lua
@@ -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()