ddnet/src/game/client/prediction
Dennis Felsing 3fff1fdc82 Don't cast write parameter for FindEntities
I think at the point where you use (CEntity **) apPlayersInRange the
compiler says this is a totally different value than apPlayersInRange
since they have a different type. And then it reorders the inlined
FindEntities code to be run afterwards, thus leading to undefined
behavior and crashes.
2022-11-09 23:08:00 +01:00
..
entities Don't cast write parameter for FindEntities 2022-11-09 23:08:00 +01:00
entity.cpp Fix heap-use-after-free in CGameWorld::RemoveEntity 2022-06-26 11:28:23 +02:00
entity.h Add an option to remove weak hook & bounce 2022-07-21 17:04:16 +02:00
gameworld.cpp Don't cast write parameter for FindEntities 2022-11-09 23:08:00 +01:00
gameworld.h Add an option to remove weak hook & bounce 2022-07-21 17:04:16 +02:00