mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-29 21:37:06 -05:00
fix: fixed compilation error when OW_GFX_COMPRESS is FALSE
This commit is contained in:
@@ -2041,8 +2041,9 @@ static void RefreshFollowerGraphics(struct ObjectEvent *objEvent) {
|
||||
sprite->y += -(graphicsInfo->height >> 1) - sprite->centerToCornerVecY;
|
||||
}
|
||||
|
||||
if (OW_GFX_COMPRESS)
|
||||
LoadSheetGraphicsInfo(graphicsInfo, objEvent->graphicsId, sprite);
|
||||
#if OW_GFX_COMPRESS
|
||||
LoadSheetGraphicsInfo(graphicsInfo, objEvent->graphicsId, sprite);
|
||||
#endif
|
||||
|
||||
sprite->oam.shape = graphicsInfo->oam->shape;
|
||||
sprite->oam.size = graphicsInfo->oam->size;
|
||||
|
||||
Reference in New Issue
Block a user