diff --git a/lib/ZenLib b/lib/ZenLib index a739f3d6..c7a661ff 160000 --- a/lib/ZenLib +++ b/lib/ZenLib @@ -1 +1 @@ -Subproject commit a739f3d61de181ec99c916404f1b8a302b843e85 +Subproject commit c7a661ff0fdace471ef9aec62dcd28ff2485ec90 diff --git a/src/engine/BaseEngine.cpp b/src/engine/BaseEngine.cpp index a43cbbf8..529ab347 100644 --- a/src/engine/BaseEngine.cpp +++ b/src/engine/BaseEngine.cpp @@ -71,7 +71,6 @@ void BaseEngine::initEngine(int argc, char** argv) LogInfo() << "Initializing..."; m_Args.gameBaseDirectory = "."; - m_FileIndex.Init(argv[0]); //m_Args.startupZEN = "addonworld.zen"; if (Flags::startG1.isSet()) diff --git a/src/target/REGoth.cpp b/src/target/REGoth.cpp index 6b3b5fac..2412faee 100644 --- a/src/target/REGoth.cpp +++ b/src/target/REGoth.cpp @@ -86,6 +86,7 @@ void REGoth::init(int _argc, char** _argv) Meshes::PositionUVVertex2D::init(); Meshes::SkeletalVertex::init(); + VDFS::FileIndex::initVDFS(_argv[0]); m_pEngine = new Engine::GameEngine; #if BX_PLATFORM_ANDROID