summaryrefslogtreecommitdiff
path: root/graphics/src/render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/render.rs')
-rw-r--r--graphics/src/render.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/render.rs b/graphics/src/render.rs
index 208dafb..5841a7b 100644
--- a/graphics/src/render.rs
+++ b/graphics/src/render.rs
@@ -666,7 +666,7 @@ impl Renderer {
R: RaylibDraw,
{
let health = player.entity.health;
- let damage = 0; // TODO: calc damage
+ let damage = player.weapon.attack_dmg();
const TEXT_WIDTH: u16 = FONT_SIZE * 3 + UI_PADDING;
const ICON_WIDTH: u16 = FONT_SIZE;