2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:07:43 +00:00

Windows build fixes and warning avoidance

This commit is contained in:
Jack Andersen
2018-05-24 20:39:38 -10:00
parent 3ceaa82035
commit 70b3404b7c
195 changed files with 428 additions and 502 deletions

View File

@@ -28,14 +28,6 @@ namespace MP1
static logvisor::Module Log("MP1::CTweaks");
static const SObjectTag& IDFromFactory(CResFactory& factory, const char* name)
{
const SObjectTag* tag = factory.GetResourceIdByName(name);
if (!tag)
Log.report(logvisor::Fatal, "Tweak Asset not found when loading... '%s'", name);
return *tag;
}
void CTweaks::RegisterTweaks(hecl::CVarManager* cvarMgr)
{
std::experimental::optional<CMemoryInStream> strm;