aboutsummaryrefslogtreecommitdiff
path: root/src/entities/antifaShip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/antifaShip.c')
-rw-r--r--src/entities/antifaShip.c4
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);