aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-03 17:16:16 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-03 17:16:16 +0100
commit42c6d3c5024c088c458c88eac2002e7e48ce9c31 (patch)
tree72a39e3282991afe167837da7e5eacad014f923c
parent5f5bf3ac7a85f8cde512ec44e3d55b93fb4354ba (diff)
fix print
-rw-r--r--frontend/cmd/hit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/cmd/hit.cpp b/frontend/cmd/hit.cpp
index dc28199..fedfbab 100644
--- a/frontend/cmd/hit.cpp
+++ b/frontend/cmd/hit.cpp
@@ -20,7 +20,7 @@ void GameController::cmd_hit(string & target_name) {
Enemy & enemy = **it;
if (enemy.is_dead()) {
- lprtf("%s is al dood!", enemy.get_name().c_str());
+ lprtf("%s is al dood!\n", enemy.get_name().c_str());
return;
}