mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Add CXeromycesEngine
This way the destructor can be used for clean up and `Singleton` can be used.
This commit is contained in:
@@ -662,7 +662,7 @@ void InitGraphics(const CmdLineArgs& args, int flags, const std::vector<CStr>& i
|
||||
|
||||
// TODO: Is this the best place for this?
|
||||
if (VfsDirectoryExists(L"maps/"))
|
||||
CXeromyces::AddValidator(g_VFS, "map", "maps/scenario.rng");
|
||||
g_Xeromyces.AddValidator(g_VFS, "map", "maps/scenario.rng");
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user