diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-10-27 15:00:19 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-10-27 15:00:19 -0600 |
commit | 4a5bdb90ffdbd9974f86df14893e7287f2faa933 (patch) | |
tree | ecebe433777c400de51fbd7cb424cf0a37fad10f /src/entities/antifaShip.h | |
parent | df05d6f688422930e8efc4a73df435e497f3776a (diff) |
Better targeting
Diffstat (limited to 'src/entities/antifaShip.h')
-rw-r--r-- | src/entities/antifaShip.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/entities/antifaShip.h b/src/entities/antifaShip.h index 98c85cc..89000c7 100644 --- a/src/entities/antifaShip.h +++ b/src/entities/antifaShip.h @@ -10,8 +10,8 @@ #define ANTIFA_DRAW_BULLET_FOR 0.05 // Auto target shit. -#define ANTIFA_START_AUTO_TARGET_MAX 3.0 // How far off auto target can be entail it drops. -#define ANTIFA_AUTO_TARGET_SPEED 1.0 +#define ANTIFA_START_AUTO_TARGET_MAX 0.5 // How far off auto target can be entail it drops. +#define ANTIFA_AUTO_TARGET_SPEED 100.0 typedef struct AntifaShip { Vector2 lastMouse; @@ -21,8 +21,8 @@ typedef struct AntifaShip { double timeSinceLastBullet; Bullet lastBulletShot; Vector3 gunTarget; - bool doAutoTarget; + bool doAutoTarget; EntityId targetedEntityId; EntityFingerprint targetedEntityFingerprint; } AntifaShip; |