mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
fix some issues with building ig
This commit is contained in:
parent
13d15593f2
commit
35862f3556
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -390,7 +390,7 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId)
|
|||
break;
|
||||
#endif
|
||||
|
||||
default: // __debugbreak();
|
||||
default: return 0;
|
||||
}
|
||||
|
||||
bool confirmUser = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue