Time Nick Message 16:55 Krock will merge trivial #10133 in 10 minutes 16:55 ShadowBot https://github.com/minetest/minetest/issues/10133 -- Fix undeclared global in devtest by Wuzzy2 16:58 Krock rubenwardy: what's the difference between "SEvent translated;" and the empty brace init? https://github.com/minetest/minetest/pull/10128#discussion_r448584841 16:58 rubenwardy Initialisation 16:58 Krock since when does C++ know default values for primitives? that's new to me 16:59 rubenwardy You commented to remove that brace in mother PR, and it broke movement on Android 16:59 rubenwardy #10046 16:59 ShadowBot https://github.com/minetest/minetest/issues/10046 -- Android: Fix only right strafe working by rubenwardy 16:59 Krock well, you have to assign all struct values manually, no? 17:01 Krock this PR totally went unnoticed by me.. hmm. will need to look into structs and C++11 again. sorry for the troubles 17:03 rubenwardy I'm not entirely sure how it works, my ide did say to initialise it like that, it was like that before, and it fixed the bug 17:03 Krock -.- thanks IDE, an explanation would be more helpful 17:04 Krock merging... 17:06 sfan5 https://en.cppreference.com/w/cpp/language/aggregate_initialization 17:06 sfan5 see syntax (2) which exists since C++11 17:08 sfan5 I think it looks ugly and in "modern" c++ you'd even write std::string s{"hello world"}; which we thankfully don't do 17:08 sfan5 (that concept is described by https://en.cppreference.com/w/cpp/language/list_initialization though) 17:11 Krock as long empty brace (default init) writes 0 values to struct members and the largest union member, it's probably fine 21:39 Zughy hey there, I wanted to fix #8273 with a friend. There are 2 options: either having a default name or checking if the user is in the main menu. Any preference? 21:39 ShadowBot https://github.com/minetest/minetest/issues/8273 -- Error on exit from main menu. 21:40 sfan5 how would the latter look? 21:42 Zughy well, we didn't give it much of a thought yet, we wanted to ask first (I mean, rn I don't know how to check for it, but that's the challenge ¯\_(ツ)_/¯ as MainMenuData doesn't have a property for it) 21:45 pgimeno but why is launch_game called on exit? 21:46 Zughy yeah, I asked that myself too 21:48 Zughy oh, it's inside a while 22:29 Zughy uhm, is checking RenderingEngine::run() safe or we're touching some black magic things? 22:30 Zughy sanity checks, singleton and all 22:36 sfan5 surely there's some way to *not* try to open a world when the mainmenu is exiting 22:36 sfan5 like without explicitly checking e.g. "is the mainmenu gone?"