diff options
author | est31 <MTest31@outlook.com> | 2015-06-16 20:33:07 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-06-16 20:33:07 +0200 |
commit | 7a90b31b30897c99adcbef0a6ea0c69f1c99c2b1 (patch) | |
tree | 1894b7a5a4f31bee0d4a70c09182349bf0e99175 /src/script/cpp_api/s_nodemeta.h | |
parent | 7b7f8b72257fa83e43dc95117dd7e7c6d2e218d9 (diff) | |
download | minetest-7a90b31b30897c99adcbef0a6ea0c69f1c99c2b1.tar.gz minetest-7a90b31b30897c99adcbef0a6ea0c69f1c99c2b1.tar.bz2 minetest-7a90b31b30897c99adcbef0a6ea0c69f1c99c2b1.zip |
GUIFormSpecMenu::OnEvent code style update and small refactor
* Make method (more) consistent with current code stlye
* Move index into loop constructor after @rubenwardy's suggestion
* Cache inv_s->getList(s.listname), which removes a possibly bad scenario
of inv_s being null.
* Properly check for validity
Diffstat (limited to 'src/script/cpp_api/s_nodemeta.h')
0 files changed, 0 insertions, 0 deletions