aboutsummaryrefslogtreecommitdiff
path: root/backend/Dungeon.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 17:32:53 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 17:32:53 +0100
commitb20f46c15dce8b196dbb8890890978947745e094 (patch)
treed9defa84717ffa843fd11b05d0e856473d6d8d59 /backend/Dungeon.cpp
parenta7e84b60366c78b131d43157980fbe4c2df655e6 (diff)
change flow architecture
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 84f9c79..fed955b 100644
--- a/backend/Dungeon.cpp
+++ b/backend/Dungeon.cpp
@@ -24,8 +24,8 @@ void Dungeon::update_attacks(ListRange<Enemy *> & enemies) {
if (rng.rand_double() < enemy->get_attack()) continue;
unsigned damage = rng.rand_int(enemy->get_damage_min(), enemy->get_damage_max() + 1);
- this->player.take_damage(damage);
lprtf("%s raakt en doet %d punt schade.\n", enemy->get_displayname().c_str(), damage);
+ this->player.take_damage(damage);
}
}