Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-11-10 00:00:00Z and 2020-11-11 00:00:00Z
Avatar
could someone help me with layers? I wanted to use entities from another group other than the Game
Avatar
@TsFreddie hi
Avatar
a space char ' ' tries to upload a zero image
05:30
glyph
05:31
malloc with zero size and nullptr is undefined
05:33
I'll take a look
Avatar
For the first commit, as far as I can see, the localized string is updated anyway(for non english strings), because the localization database increases the version after loading the language file. For the second commit, see for example: CNetConnection::Disconnect which calls SendControl(NET_CTRLMSG_CLOSE, 0, 0) which leads to NULL pointer memcpy, which is undefined( see also this ).
Avatar
(I think clang warns)
@heinrich5991 so does gcc for version above 7 or 8 i think
18:25
You can also have a warning about dangling else when you don't use accolades for all conditions with nested if
Avatar
see above
18:27
both gcc and clang warned
Avatar
oh sorry, read too fast
Exported 14 message(s)