summaryrefslogtreecommitdiff
path: root/src/spells2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
commit5928204e69432be76b618bfa08c03e9bee6b3b09 (patch)
tree9c8e74f4e9f2b898eced830a45a04209b6fd8b66 /src/spells2.cc
parent7ccb0c1a48d571abd6dc3aca725275e2d264aa2d (diff)
Use std::string for describe_player_location()
Diffstat (limited to 'src/spells2.cc')
-rw-r--r--src/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells2.cc b/src/spells2.cc
index ae7f8aa1..02b51056 100644
--- a/src/spells2.cc
+++ b/src/spells2.cc
@@ -831,7 +831,7 @@ void self_knowledge(FILE *fff)
static char buf[250];
sprintf(buf, "You are dead, killed by %s %s.",
- died_from, describe_player_location());
+ died_from, describe_player_location().c_str());
info[i++] = buf;
}