Fix calculation of selected item (for not drawing it) in formspec
authorKahrl <kahrl@gmx.net>
Mon, 17 Jun 2013 23:18:54 +0000 (01:18 +0200)
committerKahrl <kahrl@gmx.net>
Mon, 17 Jun 2013 23:18:54 +0000 (01:18 +0200)
commitc8ed61b2815e9bc32cacc32d8e3dff8bc315831b
tree9ff973b5d6fce929933477ab6ca44fdffb4f54ca
parent816ffa99ba3e11eb5d5c50a21fe019bb657c48d3
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).
src/guiFormSpecMenu.cpp