aboutsummaryrefslogtreecommitdiff
path: root/src/script/common/c_content.cpp
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-06-18 01:18:54 +0200
committerKahrl <kahrl@gmx.net>2013-06-18 01:18:54 +0200
commitc8ed61b2815e9bc32cacc32d8e3dff8bc315831b (patch)
tree9ff973b5d6fce929933477ab6ca44fdffb4f54ca /src/script/common/c_content.cpp
parent816ffa99ba3e11eb5d5c50a21fe019bb657c48d3 (diff)
downloadminetest-c8ed61b2815e9bc32cacc32d8e3dff8bc315831b.tar.gz
minetest-c8ed61b2815e9bc32cacc32d8e3dff8bc315831b.tar.bz2
minetest-c8ed61b2815e9bc32cacc32d8e3dff8bc315831b.zip
Fix calculation of selected item (for not drawing it) in formspec
The previous code did not work when the list did not start at index 0 of the inventory list (issue #779).
Diffstat (limited to 'src/script/common/c_content.cpp')
0 files changed, 0 insertions, 0 deletions