fix some issues with building ig

This commit is contained in:
Tuff-CWC 2026-03-09 18:44:45 +01:00
parent 13d15593f2
commit 35862f3556
2 changed files with 3 additions and 3 deletions

View file

@ -635,13 +635,13 @@ void ConsoleSchematicFile::generateSchematicFile(DataOutputStream *dos, Level *l
}
#ifndef _CONTENT_PACKAGE
if(p!=blockCount) // __debugbreak();
if(p!=blockCount) return 0;
#endif
// We don't know how this will compress - just make a fixed length buffer to initially decompress into
// Some small sets of blocks can end up compressing into something bigger than their source
unsigned int inputSize = blockCount * 3 / 2;
unsigned char *ucTemp = new unsigned char[inputSize];
unsigned char *ucTemp = new unsigned char[(size_t)inputSize];
switch(compressionType)
{

View file

@ -390,7 +390,7 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId)
break;
#endif
default: // __debugbreak();
default: return 0;
}
bool confirmUser = false;