ddnet/src
bors[bot] 7e9f1cc85e
Merge #4306
4306: Small optimization of EntityEx snapping r=def- a=trml

This drops sending entityex to old client versions, and for stationary pickups not in switch layer (since they don't benefit from entity ex for prediction).

It also slightly changes how m_StartTick is snapped for CLight and CGun when EntityEx is present (always sets it to 0, which could reduce network traffic slightly). However, this might cause misprediction (or invisible lights/guns) for clients who have already changed their version to 15.6, so can omit this part if wanted.

## Checklist

- [x] 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: trml <trml@users.noreply.github.com>
2021-11-16 08:07:52 +00:00
..
android Add Android build scripts 2021-08-24 12:18:20 +02:00
antibot Properly export antibot DLL symbols on Windows, this time for real 2021-10-05 17:38:58 +02:00
base Merge #4340 #4350 2021-11-15 19:33:45 +00:00
engine Merge #4340 #4350 2021-11-15 19:33:45 +00:00
game Merge #4306 2021-11-16 08:07:52 +00: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 teehistorian: Test statefulness of PLAYER_TEAM and TEAM_PRACTICE 2021-10-06 18:06:19 +02:00
tools Fix map_extract 2021-11-13 21:07:03 +01:00
twping uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00