mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Fix for ComponentMgr not showing anything. Make the ini file error more accurate as well.
This commit is contained in:
@ -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<ClassDesc*>::iterator it;
|
||||
for (it = fDescs.begin(); it != fDescs.end(); it++)
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user