fix crash no game dirs written to registry

This commit is contained in:
Chris Danford
2006-03-13 09:14:54 +00:00
parent 3213b52a68
commit b3cfedeb68
+1 -5
View File
@@ -66,11 +66,7 @@ BOOL CSmpackageApp::InitInstance()
SMPackageUtil::SetDefaultInstallDir( szCurrentDirectory );
}
{
vector<RString> asInstallDirs;
SMPackageUtil::GetGameInstallDirs( asInstallDirs );
FILEMAN->Remount( "/", asInstallDirs[0] );
}
FILEMAN->Remount( "/", szCurrentDirectory );
LUA = new LuaManager;