ddnet/src/game/client
bors[bot] ea852d8f1c
Merge #4852
4852: Fixed some useless double promotion r=def- a=Chairn

Double promotion occurs quite often when an operator is an hidden double, like constants written without the 'f' at the end. We might get a tiny micro improvement. Unfortunately, we can't do anything for all the double promotion occurring in printf like functions as it is the default for both C and C++.

Only this line might change physics:
4d47fcda09 (diff-d76009083687ba43c59dc7bb2c7357457c999c2eb9d913967d598e913c6fd01fR406)

## 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
- [x] 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: Chairn <chairn.nq@hotmail.fr>
2022-03-25 18:29:02 +00:00
..
components Merge #4852 2022-03-25 18:29:02 +00:00
prediction Fixed some useless double promotion 2022-03-23 18:22:08 +01:00
animstate.cpp Fix clang-analyzer-core.UndefinedBinaryOperatorResult 2020-10-14 15:45:47 +02:00
animstate.h Remove unnecessary trailing semicolons after method declarations 2022-03-08 20:01:26 +01:00
component.cpp Make components member of CGameClient 2021-07-12 12:07:31 +02:00
component.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
gameclient.cpp Enable -Wshadow=local 2022-03-20 13:24:34 +01:00
gameclient.h Remove unnecessary trailing semicolons after method declarations 2022-03-08 20:01:26 +01:00
lineinput.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
lineinput.h replace DeleteUntilCursor and DeleteFromCursor with SetRange 2021-11-25 00:05:04 +01:00
projectile_data.cpp Sanitize owner data in client (fixes #4388) 2021-11-24 15:41:27 +01:00
projectile_data.h force tunezone 2021-04-23 11:01:38 +08:00
race.cpp Add modernize-deprecated-headers 2022-02-15 00:22:52 +01:00
race.h Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
render.cpp Enable -Wshadow=local 2022-03-20 13:24:34 +01:00
render.h Enable readability-inconsistent-declaration-parameter-name 2022-01-22 14:12:59 +01:00
render_map.cpp Fix clang-format 2022-02-15 00:32:04 +01:00
skin.h Different comparators for skins in UI (no case) and regular skins (with case) 2021-03-23 13:39:54 +01:00
ui.cpp Renamed all shadowing/shadowed variables 2022-03-24 17:59:49 +01:00
ui.h Renamed all shadowing/shadowed variables 2022-03-24 17:59:49 +01:00
ui_ex.cpp Auto select search string on hot key 2022-03-13 19:12:06 +01:00
ui_ex.h Auto select search string on hot key 2022-03-13 19:12:06 +01:00