projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22a5a1f
)
Fix super-small size of regular item entities
author
Perttu Ahola
<celeron55@gmail.com>
Wed, 4 Apr 2012 19:57:29 +0000
(22:57 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Wed, 4 Apr 2012 19:57:29 +0000
(22:57 +0300)
builtin/item_entity.lua
patch
|
blob
|
history
diff --git
a/builtin/item_entity.lua
b/builtin/item_entity.lua
index ad0060b48e5f16afef20901eee7e00ee5f166d96..a06afc5eab52f229835b24fe53cc3721b01e58bc 100644
(file)
--- a/
builtin/item_entity.lua
+++ b/
builtin/item_entity.lua
@@
-46,6
+46,7
@@
minetest.register_entity("__builtin:item", {
if item_texture and item_texture ~= "" then
prop.visual = "sprite"
prop.textures = {item_texture}
+ prop.visual_size = {x=0.50, y=0.50}
else
prop.visual = "wielditem"
prop.textures = {itemname}