mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Extraneous string array
This commit is contained in:
parent
473db0e320
commit
868d6ea14a
@ -92,14 +92,6 @@ const static std::string SQVM_LOG_T[4] =
|
||||
"Script(X):"
|
||||
};
|
||||
|
||||
const static std::string SQVM_WARNING_LOG_T[4] =
|
||||
{
|
||||
"Script(S):",
|
||||
"Script(C):",
|
||||
"Script(U):",
|
||||
"Script(X):"
|
||||
};
|
||||
|
||||
const static std::string SQVM_ANSI_LOG_T[4] =
|
||||
{
|
||||
"\033[38;2;151;149;187mScript(S):",
|
||||
|
@ -189,7 +189,7 @@ SQRESULT HSQVM_WarningFunc(HSQUIRRELVM v, SQInteger a2, SQInteger a3, SQInteger*
|
||||
static std::shared_ptr<spdlog::logger> wconsole = spdlog::get("win_console");
|
||||
static std::shared_ptr<spdlog::logger> sqlogger = spdlog::get("sqvm_warn_logger");
|
||||
|
||||
std::string vmStr = SQVM_WARNING_LOG_T[static_cast<int>(context)].c_str();
|
||||
std::string vmStr = SQVM_LOG_T[static_cast<int>(context)].c_str();
|
||||
std::string svConstructor(*ppString, *nStringSize); // Get string from memory via std::string constructor.
|
||||
vmStr.append(svConstructor);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user