There is a try-catch statement in the command menu parsing code that is completely useless. No exception of type CException exists, the exception is caught incorrectly (by non-const pointer instead of const reference), and nothing will throw the exception.
There is a try-catch statement in the command menu parsing code that is completely useless. No exception of type
CException
exists, the exception is caught incorrectly (by non-const pointer instead of const reference), and nothing will throw the exception.Remove this statement.