Sorted cvar list alphabetically #690
parent
e82aa3cec0
commit
9e18a07252
|
@ -49,6 +49,11 @@ CONCOMMAND(cvarlist, "cvarlist")
|
|||
|
||||
uint32 skiped = 0;
|
||||
|
||||
std::sort(begin(vList), end(vList), [](CVar* pA, CVar* pB)
|
||||
{
|
||||
return std::string(pA->getName()) < std::string(pB->getName());
|
||||
});
|
||||
|
||||
for (size_t x=0; x<vList.size(); x++)
|
||||
{
|
||||
CVar *temp = vList[x];
|
||||
|
@ -70,7 +75,7 @@ CONCOMMAND(cvarlist, "cvarlist")
|
|||
|
||||
|
||||
|
||||
//both these concommands are handled by the consle form
|
||||
//both these concommands are handled by the console form
|
||||
CONCOMMAND(condump, "condump"){}
|
||||
CONCOMMAND(clear, "clear"){}
|
||||
|
||||
|
|
Loading…
Reference in New Issue