Command::short_name() is id() now

(Fix compilation in Release mode.)
This commit is contained in:
David Capello 2015-05-04 16:08:15 -03:00
parent 5538c5a749
commit 4f33bef43c

View File

@ -99,7 +99,7 @@ void Context::executeCommand(Command* command, const Params& params)
#ifndef DEBUGMODE
catch (...) {
PRINTF("unknown exception executing '%s' command\n",
command->short_name());
command->id().c_str());
console.printf("An unknown error ocurred executing the command.\n"
"Please save your work, close the program, try it\n"