diff options
author | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
commit | 3eacc4f9835c697c50838b0f341355b5600d0256 (patch) | |
tree | 649f1289c133e4cfac1f8ab702be556016f96625 /src/q_thrain.cc | |
parent | 5a2727af08483be1a529dcbdbe6aa286694162bc (diff) |
Replace uses of format() with fmt::format()
Diffstat (limited to 'src/q_thrain.cc')
-rw-r--r-- | src/q_thrain.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/q_thrain.cc b/src/q_thrain.cc index c2aea278..176cc7ed 100644 --- a/src/q_thrain.cc +++ b/src/q_thrain.cc @@ -20,11 +20,11 @@ #include "tables.hpp" #include "util.hpp" #include "variable.hpp" -#include "z-form.h" #include "z-rand.hpp" #include "z-term.h" #include <cassert> +#include <fmt/format.h> #define cquest (quest[QUEST_THRAIN]) @@ -273,7 +273,7 @@ void quest_thrain_init_hook() cquest.data[0] = rand_range(d_info[DUNGEON_DOL_GULDUR].mindepth + 1, d_info[DUNGEON_DOL_GULDUR].maxdepth - 1); if (wizard) { - messages.add(format("Thrain lvl %d", cquest.data[0]), TERM_BLUE); + messages.add(fmt::format("Thrain lvl {}", cquest.data[0]), TERM_BLUE); } } if ((cquest.status >= QUEST_STATUS_TAKEN) && (cquest.status < QUEST_STATUS_FINISHED)) |