mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
Remove redundant statements
This commit is contained in:
parent
cab3728e96
commit
6c07031c85
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user