diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 19:40:24 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 19:40:24 +0100 |
commit | bdf6ac149ec260dab767663419731b302679f458 (patch) | |
tree | b22277e55cf4167e7bd4af92c21f174ee76686ae /frontend | |
parent | 221b08e07246e84587b4144eca5564ce9ad3a20a (diff) |
test for memory leaks
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/cmd/view.cpp | 2 |
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; |