ddnet/src
bors[bot] dc03672af3
Merge #4142
4142: Fix parantheses warning r=Jupeyy a=def-

This condition is too complicated to understand I think...
```
src/game/client/components/players.cpp: In member function ‘void CPlayers::RenderPlayer(const CNetObj_Character*, const CNetObj_Character*, const CTeeRenderInfo*, int, float)’:
src/game/client/components/players.cpp:546:130: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  546 |         if(((!IVideo::Current() && (g_Config.m_ClShowDirection >= 1)) || (IVideo::Current() && g_Config.m_ClVideoShowDirection)) && ClientID >= 0 || DemoPlayer()->IsPlaying())
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
```
<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: def <dennis@felsin9.de>
2021-09-04 11:28:51 +00:00
..
android Add Android build scripts 2021-08-24 12:18:20 +02:00
antibot Merge master into pr_use_cpp 2021-07-04 16:09:20 +02:00
base Merge #4111 2021-08-30 09:02:24 +00:00
engine Merge #4143 2021-09-04 11:19:52 +00:00
game Fix parantheses warning 2021-09-04 11:22:43 +02:00
macos OSX -> macOS 2021-02-12 13:41:41 +01:00
macoslaunch OSX -> macOS 2021-02-12 13:41:41 +01:00
mastersrv uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
steam Run clang-format 2020-09-26 21:50:15 +02:00
test Mark the inverted exclamation mark as confusable with i 2021-07-27 02:43:04 +02:00
tools uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
twping uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00