Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2020-02-29 00:00:00Z and 2020-03-01 00:00:00Z
Avatar
why is there a check whether client is ingame and not quitting in the loop BUT NOT for a single send? this could remove all the checks from where we call SendPackMsg and would be nicer in general https://github.com/teeworlds/teeworlds/blob/master/src/engine/server/server.cpp#L519-L527
Avatar
you can tell me the isbn
11:02
ISBN
11:03
opening an issue leads to better results, as discussions here don't seem to lead to any change of such small, but imo important refactoring changes.
Avatar
Probably because packet.m_clientid has a sane value if SendMsg is called
11:15
Additional checks wouldn't hurt ig
Avatar
it doesnt have to have a sane value
11:19
can pass any client id you want
Avatar
but it assumes it is sane
Exported 10 message(s)