mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-27 18:23:54 +00:00
Use the VFS wrapper instead of Xerces' local file input source
This was SVN commit r383.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user