mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
Codechange: Use std::string in console commands/aliases registration, and std::map instead our sorted linked list (#9057)
* Codechange: Use std::string in console commands and aliases registration * Codechange: Use std::map to register console commands * Codechange: Use std::map to register console aliases * Cleanup: Remove now unused function
This commit is contained in:
@@ -1142,7 +1142,7 @@ static void RegisterConsoleMidiCommands()
|
||||
{
|
||||
static bool registered = false;
|
||||
if (!registered) {
|
||||
IConsoleCmdRegister("dumpsmf", CmdDumpSMF);
|
||||
IConsole::CmdRegister("dumpsmf", CmdDumpSMF);
|
||||
registered = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user