aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 19:40:24 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 19:40:24 +0100
commitbdf6ac149ec260dab767663419731b302679f458 (patch)
treeb22277e55cf4167e7bd4af92c21f174ee76686ae /frontend/cmd
parent221b08e07246e84587b4144eca5564ce9ad3a20a (diff)
test for memory leaks
Diffstat (limited to 'frontend/cmd')
-rw-r--r--frontend/cmd/view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/cmd/view.cpp b/frontend/cmd/view.cpp
index 291e321..91eaf94 100644
--- a/frontend/cmd/view.cpp
+++ b/frontend/cmd/view.cpp
@@ -65,7 +65,7 @@ void GameController::cmd_view(string & target) {
lprtf("%s\n", enemy->get_description().c_str());
unsigned enemy_health = enemy->get_health();
- lprtf("%s heeft %s levenspunten.\n", enemy->get_name().c_str(), enemy_health);
+ lprtf("%s heeft %u levenspunten.\n", enemy->get_name().c_str(), enemy_health);
if (!enemy->is_dead())
return;