1
1
forked from 0ad/0ad

Removed mods/official/ prefix now that ObjectEntry is VFS aware

This was SVN commit r382.
This commit is contained in:
Simon Brenner 2004-06-03 13:22:19 +00:00
parent 831defdf07
commit 2c2b9ab71a

View File

@ -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());