diff options
author | Shauren <shauren.trinity@gmail.com> | 2020-04-03 17:41:48 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-04-03 17:41:48 +0200 |
commit | 5526e14bcf1efe7a4b1f96760a1816d2e0e1c1b9 (patch) | |
tree | 48900b85a41907a03a3dbb95583e9c4adc9d26f3 /src/server/game/Quests/QuestDef.cpp | |
parent | abe4d59526fe0e7d5a96810d44c7d17fd0d0afbd (diff) |
Core/Entities: Fixed saving spawn difficulties to db for .npc add and .gob add (and other commands that modify creature/gameobject spawns table)
Diffstat (limited to 'src/server/game/Quests/QuestDef.cpp')
-rw-r--r-- | src/server/game/Quests/QuestDef.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp index 5719c541406..92a039344a5 100644 --- a/src/server/game/Quests/QuestDef.cpp +++ b/src/server/game/Quests/QuestDef.cpp @@ -579,8 +579,5 @@ void Quest::AddQuestLevelToTitle(std::string& title, int32 level) { // Adds the quest level to the front of the quest title // example: [13] Westfall Stew - - std::stringstream questTitlePretty; - questTitlePretty << "[" << level << "] " << title; - title = questTitlePretty.str(); + title = Trinity::StringFormat("[%d] %s", level, title); } |