1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Maybe check the right size m8

This commit is contained in:
Ethan Lee 2020-06-14 22:44:34 -04:00
parent bd71fb8a68
commit 3323b7e3cf

View file

@ -105,7 +105,7 @@ bool binaryBlob::unPackBinary(const char* name)
{
continue; /* Must be EXACTLY 1 or 0 */
}
if (size < 1)
if (m_headers[i].size < 1)
{
continue; /* Must be nonzero and positive */
}