ddnet/src/game/server/entities
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
..
character.cpp Don't cast write parameter for FindEntities 2022-11-09 23:08:00 +01:00
character.h Fix physics change by weak hook fix (fixes #5769) 2022-10-27 17:44:54 +02:00
door.cpp Move and extend GetClientVersion to remove many version.h includes 2022-07-31 23:21:10 +02:00
door.h Organize game-server includes 2022-06-17 20:32:56 +02:00
dragger.cpp Don't cast write parameter for FindEntities 2022-11-09 23:08:00 +01:00
dragger.h Huge variable naming format 2022-07-08 18:01:29 +02:00
dragger_beam.cpp Use traditional casts instead of functional-style casts 2022-11-06 11:52:21 +01:00
dragger_beam.h Organize game-server includes 2022-06-17 20:32:56 +02:00
gun.cpp Don't cast write parameter for FindEntities 2022-11-09 23:08:00 +01:00
gun.h Huge variable naming format 2022-07-08 18:01:29 +02:00
laser.cpp Add DDNetLaser to have more info about a laser shot 2022-09-15 01:01:32 +02:00
laser.h change m_ZeroEnergyBounceInLastTick to bool 2022-06-10 17:46:32 +02:00
light.cpp Use traditional casts instead of functional-style casts 2022-11-06 11:52:21 +01:00
light.h Mark virtual function as override using a script: 2022-05-17 23:47:32 +02:00
pickup.cpp Don't cast write parameter for FindEntities 2022-11-09 23:08:00 +01:00
pickup.h Mark virtual function as override using a script: 2022-05-17 23:47:32 +02:00
plasma.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
plasma.h revert to double explotion plasma bullets if the bullet hits obstacle 2022-05-22 21:59:51 +02:00
projectile.cpp Don't cast write parameter for FindEntities 2022-11-09 23:08:00 +01:00
projectile.h Always destroy bullets/lasers on kill when in practice team (fixes #4694) 2022-02-11 16:58:04 +01:00