Use the VFS wrapper instead of Xerces' local file input source

This was SVN commit r383.
This commit is contained in:
olsner
2004-06-03 13:27:01 +00:00
parent 2c2b9ab71a
commit 9a9c0055dc
4 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ void CBaseEntityCollection::loadTemplates()
Handle handle;
vfsDirEnt dent;
CStr pathname = "mods/official/entities/templates/";
handle=vfs_open_dir("entities/templates/");
CStr pathname = "entities/templates/";
handle=vfs_open_dir(pathname.c_str());
if (handle > 0)
{
while (vfs_next_dirent(handle, &dent, ".xml") == 0)