diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | 7ccb0c1a48d571abd6dc3aca725275e2d264aa2d (patch) | |
tree | cf8704730d08eb3567e9de519f768b6f8baae4af /src/spells1.cc | |
parent | 667acd0e312301ad613b6a71f843c51d2062aee6 (diff) |
Change strings in dungeon_info_type to std::string
Diffstat (limited to 'src/spells1.cc')
-rw-r--r-- | src/spells1.cc | 2 |
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) { |