Removed mods/official/ prefix now that ObjectEntry is VFS aware
This was SVN commit r382.
This commit is contained in:
parent
831defdf07
commit
2c2b9ab71a
@ -116,8 +116,7 @@ void CObjectManager::LoadObjects(int type)
|
||||
while (vfs_next_dirent(dir, &dent, ".xml")==0)
|
||||
{
|
||||
CObjectEntry* object=new CObjectEntry(type);
|
||||
CStr filename("mods/official/");
|
||||
filename+=pathname;
|
||||
CStr filename(pathname);
|
||||
filename+=dent.name;
|
||||
if (!object->Load((const char*) filename)) {
|
||||
LOG(ERROR, "CObjectManager::LoadObjects(): %s: XML Load failed\n", filename.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user