ddnet/src/game/server
Robert Müller a4b489aa87 Fix incorrect sixup detection when snapping pickups
For 0.7 clients the client version is not `VERSION_NONE`, so `IsSixup` was never called for them, which leads to version 0.6 pickups being snapped for 0.7 clients. This causes snapshot CRC errors for the 0.7 clients, as the 0.6 and 0.7 pickup structs have different sizes.

Now the version is no longer checked before calling `IsSixup`, which is the case in all other locations where the function is called and was also the case before this bug was introduced by #6330.
2023-03-20 19:01:44 +01:00
..
entities Fix incorrect sixup detection when snapping pickups 2023-03-20 19:01:44 +01:00
gamemodes rewrite int64_t to CClientMask 2023-01-24 09:27:29 +01:00
alloc.h Remove dead code 2022-05-31 19:32:07 +02:00
ddracechat.cpp Use str_copy instead of str_format 2023-01-28 16:37:33 +01:00
ddracecommands.cpp Fix empty chat message being sent when using moderate 2023-01-28 16:36:03 +01:00
entity.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
entity.h Remove projectiles on save and load 2023-01-03 23:38:58 +01:00
eventhandler.cpp rewrite int64_t to CClientMask 2023-01-24 09:27:29 +01:00
eventhandler.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
gamecontext.cpp Merge #6324 #6345 2023-03-05 16:53:37 +00:00
gamecontext.h Merge #6324 #6345 2023-03-05 16:53:37 +00:00
gamecontroller.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
gamecontroller.h move typedef to protocol.h 2023-01-26 11:56:48 +01:00
gameworld.cpp fixed comments 2023-02-28 13:06:50 +01:00
gameworld.h Remove projectiles on team change 2023-01-04 21:08:47 +01:00
player.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
player.h Persist AFK state of players on map change 2022-12-23 00:13:10 +01:00
save.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
save.h Remove projectiles on save and load 2023-01-03 23:38:58 +01:00
score.cpp Merge #6226 #6230 2023-01-04 18:03:11 +00:00
score.h Fix scoreboard showing wrong best time 2022-12-31 12:36:03 +01:00
scoreworker.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
scoreworker.h Merge #6226 #6230 2023-01-04 18:03:11 +00:00
teams.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
teams.h rewrite int64_t to CClientMask 2023-01-24 09:27:29 +01:00
teehistorian.cpp Use sizeof(int32_t) instead of 4 2023-02-11 13:59:08 +01:00
teehistorian.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
teeinfo.cpp Mark parameters as const when possible 2022-11-29 23:32:31 +01:00
teeinfo.h Mark parameters as const when possible 2022-11-29 23:32:31 +01:00