diff options
Diffstat (limited to 'src/entities/antifaShip.h')
-rw-r--r-- | src/entities/antifaShip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities/antifaShip.h b/src/entities/antifaShip.h index 89000c7..7474b00 100644 --- a/src/entities/antifaShip.h +++ b/src/entities/antifaShip.h @@ -1,6 +1,7 @@ #include "gameCommon.h" #include "entity.h" #include "bullets.h" +#include "PID.h" #ifndef ANTIFA_SHIP_H #define ANTIFA_SHIP_H @@ -11,7 +12,6 @@ // Auto target shit. #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; @@ -23,6 +23,7 @@ typedef struct AntifaShip { Vector3 gunTarget; bool doAutoTarget; + PID targetingPID; EntityId targetedEntityId; EntityFingerprint targetedEntityFingerprint; } AntifaShip; |