From 28f9f373667e1d676365c1d67d50221eda2c6379 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Tue, 7 Nov 2023 22:11:06 -0700 Subject: Just in case some shit happens to my laptop --- src/entities/antifaShip.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/entities/antifaShip.c') 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); -- cgit v1.2.3