summaryrefslogtreecommitdiff
path: root/src/spells1.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
commit7ccb0c1a48d571abd6dc3aca725275e2d264aa2d (patch)
treecf8704730d08eb3567e9de519f768b6f8baae4af /src/spells1.cc
parent667acd0e312301ad613b6a71f843c51d2062aee6 (diff)
Change strings in dungeon_info_type to std::string
Diffstat (limited to 'src/spells1.cc')
-rw-r--r--src/spells1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells1.cc b/src/spells1.cc
index ab789a38..8be8b06a 100644
--- a/src/spells1.cc
+++ b/src/spells1.cc
@@ -7010,7 +7010,7 @@ static bool_ project_p(int who, int r, int y, int x, int dam, int typ, int a_rad
/* Did the dungeon do it? */
if (who == -100)
{
- sprintf(killer, "%s", d_info[dungeon_type].name);
+ sprintf(killer, "%s", d_info[dungeon_type].name.c_str());
}
if (who == -101)
{