diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1f6a25340..5ea078661 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -322,7 +322,7 @@ if (APPLE) add_custom_command( TARGET mmapper POST_BUILD - COMMAND macdeployqt-4.6 ${CMAKE_CURRENT_BINARY_DIR}/mmapper.app + COMMAND macdeployqt ${CMAKE_CURRENT_BINARY_DIR}/mmapper.app WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Deploying the Qt Framework onto the bundle" ) diff --git a/src/parser/mumexmlparser.cpp b/src/parser/mumexmlparser.cpp index 1968c3a71..c6b2ba518 100644 --- a/src/parser/mumexmlparser.cpp +++ b/src/parser/mumexmlparser.cpp @@ -191,12 +191,10 @@ bool MumeXmlParser::element( const QByteArray& line ) break; case 'm': if (length > 8) - switch (line.at(8)) - { + switch (line.at(8)) { case ' ': - if (length > 13) - switch (line.at(13)) - { + if (length > 14) + switch (line.at(14)) { case 'n': m_move = CID_NORTH; break; @@ -215,12 +213,12 @@ bool MumeXmlParser::element( const QByteArray& line ) case 'd': m_move = CID_DOWN; break; - } + }; break; case '/': m_move = CID_NONE; break; - } + } break; }; break; diff --git a/src/proxy/proxy.cpp b/src/proxy/proxy.cpp index 8dc8936e2..c6c725969 100644 --- a/src/proxy/proxy.cpp +++ b/src/proxy/proxy.cpp @@ -215,8 +215,8 @@ bool Proxy::init() //m_userSocket->flush(); if (Config().m_mpi) { - emit sendToMud(QByteArray("~$#EX1\n1\n")); - emit log("Proxy", "Sent MUME MPI XML request"); + emit sendToMud(QByteArray("~$#EX1\n3\n")); + emit log("Proxy", "Sent MUME Protocol Initiator XML request"); } return TRUE;