diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-11-07 22:11:06 -0700 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-11-07 22:11:06 -0700 |
commit | 28f9f373667e1d676365c1d67d50221eda2c6379 (patch) | |
tree | f7bd490e42be6e68fe1725a565e705f264ab323b /src/entities/antifaShip.c | |
parent | c28b9fdb3c15248604d38717a03e98c78ac88961 (diff) |
Just in case some shit happens to my laptop
Diffstat (limited to 'src/entities/antifaShip.c')
-rw-r--r-- | src/entities/antifaShip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entities/antifaShip.c b/src/entities/antifaShip.c index 2b98721..b90060e 100644 --- a/src/entities/antifaShip.c +++ b/src/entities/antifaShip.c @@ -204,6 +204,10 @@ void controlAntifaShipKeyboardAndMouse(Game * game, Entity * entity) { data->lastMouse = Vector2Zero(); } + // Kill me hehehe + if (IsKeyPressed(KEY_K)) + entity->health = 0.0; + // Shoot bullet. if (IsMouseButtonPressed(MOUSE_RIGHT_BUTTON)) toggleAntifaShipAutoTarget(game, entity); |