commit b20f2032d2e15cd3c64fbf5a98492b7b12d7ea36 parent 34267decfdf74e85e5b74df2d07cfaf43c531275 Author: Sophie <info@soophie.de> Date: Mon, 16 Dec 2024 13:23:25 +0100 fix: Fixed enemy gate spawning Diffstat:
M | src/gate.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/gate.c b/src/gate.c @@ -64,6 +64,7 @@ void gate_update(gate_t *gate, game_t *game) { game->entities[game->entities_len] = (entity_t) { .type = ENTITY_ENEMY, .enemy = enemy, + .is_bad = true, }; game->entities_len++; }