From b4507b3601bedcaa599673b9f9083d1574132157 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 2 Nov 2024 20:57:37 +0100 Subject: more fixes --- backend/Dungeon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/Dungeon.cpp') diff --git a/backend/Dungeon.cpp b/backend/Dungeon.cpp index e1fae39..ce9ba9f 100644 --- a/backend/Dungeon.cpp +++ b/backend/Dungeon.cpp @@ -23,7 +23,7 @@ void Dungeon::update_attacks(ListRange & enemies) { for (Enemy * enemy : enemies) { if (enemy->is_dead()) continue; if (rng.rand_double() < enemy->get_attack()) continue; - if (!first) + if (first) lprtf(":: De %s in je locatie %s aan! ::\n", plural ? "vijanden" : "vijand", plural ? "vallen" : "valt"); unsigned damage = rng.rand_int(enemy->get_damage()); -- cgit v1.2.3