MP1 tweaks default values

This commit is contained in:
Aruki
2018-12-30 14:45:00 -07:00
parent 7b005d7ebd
commit e67471c480
16 changed files with 2152 additions and 3 deletions

View File

@@ -43,6 +43,8 @@ CTweakData* CTweakLoader::LoadCTWK(IInputStream& CTWK, CResourceEntry* pEntry)
if (!CTWK.EoF() && CTWK.PeekShort() != -1)
{
errorf("%s: unread property data, tweak template may be malformed (%d bytes left)", *CTWK.GetSourceString(), CTWK.Size() - CTWK.Tell());
delete pTweakData;
return nullptr;
}
return pTweakData;