ddnet/src/game
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
..
client Merge #4852 2022-03-25 18:29:02 +00:00
editor Fixed some useless double promotion 2022-03-23 18:22:08 +01:00
server Merge #4852 2022-03-25 18:29:02 +00:00
bezier.cpp Run clang-format 2020-09-26 21:50:15 +02:00
bezier.h clang-format 2022-03-24 17:59:49 +01:00
collision.cpp Fix clang-format 2022-02-15 00:32:04 +01:00
collision.h Rename IsSwitch to GetSwitchType 2021-12-19 12:10:03 +01:00
ddracechat.h Add teleport/tp chat command to teleport yourself 2022-01-31 13:21:04 +01:00
ddracecommands.h Implement unmuteid, make it clearer that unmute uses ID from mutes 2021-12-18 11:28:54 +01:00
gamecore.cpp Revert possible physic change 2022-03-23 18:30:18 +01:00
gamecore.h add enum for ShowOthers value 2022-03-03 22:56:32 +01:00
layers.cpp Improve code style of InitTilemapSkip 2022-01-19 22:27:59 +01:00
layers.h Remove unnecessary trailing semicolons 2022-01-19 22:44:20 +01:00
localization.cpp Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
localization.h Run clang-format 2020-09-26 21:50:15 +02:00
mapbugs.cpp Add more readability checks 2022-01-22 17:45:25 +01:00
mapbugs.h Remove code for CRC in most places, except where needed for net compat 2020-10-14 17:08:58 +02:00
mapbugs_list.h Revert "Add mapbug "stoppers-passthrough@ddnet.tw"" 2018-08-22 08:33:21 +02:00
mapitems.cpp Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
mapitems.h Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
mapitems_ex.cpp Run clang-format 2020-09-26 21:50:15 +02:00
mapitems_ex.h Run clang-format 2020-09-26 21:50:15 +02:00
mapitems_ex_types.h Run clang-format 2020-09-26 21:50:15 +02:00
prng.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
prng.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
teamscore.cpp Refactoring of g_Config.m_SvTeam, See #4601 2022-02-19 18:11:15 +01:00
teamscore.h SV_TEAM enum was labeled 2022-03-03 15:36:06 +01:00
tuning.h Add hammer_hit_fire_delay tune 2021-05-01 16:36:12 +02:00
variables.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
version.h Version 15.9.1 2022-02-15 21:20:31 +01:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00