diff --git a/Sources/Tools/MaxComponent/plComponentMgr.cpp b/Sources/Tools/MaxComponent/plComponentMgr.cpp index 65708ee9..0dcdd0a9 100644 --- a/Sources/Tools/MaxComponent/plComponentMgr.cpp +++ b/Sources/Tools/MaxComponent/plComponentMgr.cpp @@ -87,8 +87,14 @@ int IDescCompare(ClassDesc *desc1, ClassDesc *desc2); void plComponentMgr::Register(ClassDesc *desc) { - // Organize desc's by category and name + // No descs? Go ahead and push it to the back... + if (fDescs.size() == 0) + { + fDescs.push_back(desc); + return; + } + // Organize desc's by category and name std::vector::iterator it; for (it = fDescs.begin(); it != fDescs.end(); it++) { diff --git a/Sources/Tools/MaxMain/GlobalUtility.cpp b/Sources/Tools/MaxMain/GlobalUtility.cpp index 321d7674..6449f3ac 100644 --- a/Sources/Tools/MaxMain/GlobalUtility.cpp +++ b/Sources/Tools/MaxMain/GlobalUtility.cpp @@ -203,7 +203,7 @@ DWORD PlasmaMax::Start() const char* pathTemp = plMaxConfig::GetClientPath(false, true); if (pathTemp == nil) { - hsMessageBox("PlasmaMAX2.ini is missing the Client Path", "Error", hsMessageBoxNormal); + hsMessageBox("PlasmaMAX2.ini is missing or invalid", "Plasma/2.0 Error", hsMessageBoxNormal); } else {