diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 16:03:53 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 16:03:53 +0100 |
commit | a7e84b60366c78b131d43157980fbe4c2df655e6 (patch) | |
tree | 391099bfd358e04c8ef38f33311f92b2cd607afe /frontend/cmd/query.cpp | |
parent | 798948dbe6f012e194f053c4e862cf697f30b793 (diff) |
small cleanup + checks
Diffstat (limited to 'frontend/cmd/query.cpp')
-rw-r--r-- | frontend/cmd/query.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/cmd/query.cpp b/frontend/cmd/query.cpp index f04e053..2a62b45 100644 --- a/frontend/cmd/query.cpp +++ b/frontend/cmd/query.cpp @@ -49,7 +49,7 @@ FollowupAction GameController::cmd_query(string &) { size_t enemies = 0; for (Enemy * enemy : location.get_enemies()) { if (enemies > 0) lprtf(", "); - lprtf("%s", enemy->get_name().c_str()); + lprtf("%s", enemy->get_displayname().c_str()); enemies++; } if (enemies == 0) |