diff --git a/client/CMT.cpp b/client/CMT.cpp index 83efc52a4..c3f589a40 100644 --- a/client/CMT.cpp +++ b/client/CMT.cpp @@ -701,7 +701,7 @@ void processCommand(const std::string &message) if(const CIntObject *obj = dynamic_cast(child)) printInfoAboutIntObject(obj, 0); else - std::cout << typeid(*obj).name() << std::endl; + std::cout << typeid(*child).name() << std::endl; } } else if(cn=="tell")