Remove redundant statements

This commit is contained in:
N 2021-02-18 20:09:09 -05:00 committed by huderlem
parent cab3728e96
commit 6c07031c85

View File

@ -55,12 +55,10 @@ const struct SpriteTemplate gItemIconSpriteTemplate =
// code
bool8 AllocItemIconTemporaryBuffers(void)
{
gItemIconDecompressionBuffer = gItemIconDecompressionBuffer; // needed to match
gItemIconDecompressionBuffer = Alloc(0x120);
if (gItemIconDecompressionBuffer == NULL)
return FALSE;
gItemIcon4x4Buffer = gItemIcon4x4Buffer; // needed to match
gItemIcon4x4Buffer = AllocZeroed(0x200);
if (gItemIcon4x4Buffer == NULL)
{