mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
[Strings] Refactor Strings Usage (#2305)
* Initial commit checkpoint * More functions converted * Commify * More functions * Fin * Sort declarations * Split functions between files * Bots * Update strings.h * Split * Revert find replaces * Repository template * Money * Misc function * Update CMakeLists.txt * Saylink * Update strings.cpp * Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database * API casings
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@
|
||||
#include "doors.h"
|
||||
#include "quest_parser_collection.h"
|
||||
#include "lua_parser.h"
|
||||
#include "../common/string_util.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/say_link.h"
|
||||
|
||||
extern volatile bool is_zone_loaded;
|
||||
@@ -9929,7 +9929,7 @@ bool Bot::UseDiscipline(uint32 spell_id, uint32 target) {
|
||||
fmt::format(
|
||||
"{} can use this discipline in {}.",
|
||||
GetCleanName(),
|
||||
ConvertSecondsToTime(remaining_time)
|
||||
Strings::SecondsToTime(remaining_time)
|
||||
).c_str()
|
||||
);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user