mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-16 08:27:01 +00:00
MP1 tweaks default values
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user