mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-30 15:13:12 -04:00
merge the actual useful, sane appearing changes from DNC. the changes to the crafting system and packet settings may not be so good
This commit is contained in:
@@ -460,12 +460,12 @@ bool ConsoleCommandParserServer::performParsing (const NetworkId & userId, const
|
||||
//-----------------------------------------------------------------
|
||||
else if (isAbbrev( argv[0], "dumpMemToFile"))
|
||||
{
|
||||
//std::string fileName(Unicode::wideToNarrow(argv[1]));
|
||||
//std::string leakStr(Unicode::wideToNarrow(argv[2]));
|
||||
//bool leak = (leakStr == "true" || leakStr == "1");
|
||||
//
|
||||
//MemoryManager::reportToFile(fileName.c_str(), leak);
|
||||
//result += getErrorMessage (argv[0], ERR_SUCCESS);
|
||||
std::string fileName(Unicode::wideToNarrow(argv[1]));
|
||||
std::string leakStr(Unicode::wideToNarrow(argv[2]));
|
||||
bool leak = (leakStr == "true" || leakStr == "1");
|
||||
|
||||
MemoryManager::reportToFile(fileName.c_str(), leak);
|
||||
result += getErrorMessage (argv[0], ERR_SUCCESS);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user