aboutsummaryrefslogtreecommitdiff
path: root/backend/Dungeon.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-02 20:57:37 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-02 20:57:37 +0100
commitb4507b3601bedcaa599673b9f9083d1574132157 (patch)
treea25a2f249f3434aa204da2095a26b220de188941 /backend/Dungeon.cpp
parentc17df7d3e28e0eeb21f7a62d1c66f525b487a5fa (diff)
more fixes
Diffstat (limited to 'backend/Dungeon.cpp')
-rw-r--r--backend/Dungeon.cpp2
1 files changed, 1 insertions, 1 deletions
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<Enemy *> & 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());