ddnet/src/game/server/entities
Robert Müller aa08cfabc2 Fix swapping with dragger beams and plasmas
The client ID referenced by dragger beams and plasmas must also be swapped when two clients are swapped, as those entities should refer to the same character entity as before the swap.

For dragger beams, swapping previously caused the active beams to switch target to another character.

For plasmas, swapping previously caused already shot plasmas to not have an effect on their original target character.

Closes #5865.
2023-04-04 20:07:17 +02:00
..
character.cpp Fix ninja dash not getting predicted correctly 2023-03-26 16:42:31 +02:00
character.h move typedef to protocol.h 2023-01-26 11:56:48 +01:00
door.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
door.h Recreate all entities when restarting round 2022-12-17 12:17:58 +01:00
dragger.cpp Add a simpler IServer::SnapNewItem() API based on some more generated data 2023-02-10 23:12:24 +03:00
dragger.h Huge variable naming format 2022-07-08 18:01:29 +02:00
dragger_beam.cpp Fix swapping with dragger beams and plasmas 2023-04-04 20:07:17 +02:00
dragger_beam.h Fix swapping with dragger beams and plasmas 2023-04-04 20:07:17 +02:00
gun.cpp Extract SnapLaserObject() from entities to CGameContext helpers 2023-02-10 23:07:07 +03:00
gun.h Huge variable naming format 2022-07-08 18:01:29 +02:00
laser.cpp Extract SnapLaserObject() from entities to CGameContext helpers 2023-02-10 23:07:07 +03:00
laser.h move typedef to protocol.h 2023-01-26 11:56:48 +01:00
light.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
light.h Mark virtual function as override using a script: 2022-05-17 23:47:32 +02:00
pickup.cpp Fix incorrect sixup detection when snapping pickups 2023-03-20 19:01:44 +01:00
pickup.h Mark virtual function as override using a script: 2022-05-17 23:47:32 +02:00
plasma.cpp Fix swapping with dragger beams and plasmas 2023-04-04 20:07:17 +02:00
plasma.h Fix swapping with dragger beams and plasmas 2023-04-04 20:07:17 +02:00
projectile.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
projectile.h Remove projectiles on save and load 2023-01-03 23:38:58 +01:00