summaryrefslogtreecommitdiff
path: root/src/sprite.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-10-08 12:44:03 -0700
committerMarcus Huderle <huderlem@gmail.com>2017-10-08 12:49:32 -0700
commit62eb504ec9371ab8505d4da030412fab30a87982 (patch)
tree73b623297ea9ef682984234ff91b5c589cfcf6c3 /src/sprite.c
parent7a5ed07949551b9c6e6bfc1885ce50e673f1a476 (diff)
Decompile InitPartyMenu
Diffstat (limited to 'src/sprite.c')
-rw-r--r--src/sprite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sprite.c b/src/sprite.c
index fb8c2b648..5700bc86b 100644
--- a/src/sprite.c
+++ b/src/sprite.c
@@ -916,9 +916,9 @@ void DestroySpriteAndFreeResources(struct Sprite *sprite)
DestroySprite(sprite);
}
-void sub_800142C(u32 a1, u32 a2, u16 *a3, u16 a4, u32 a5)
+void sub_800142C(u32 a1, u32 a2, const u16 *a3, u16 a4, u32 a5)
{
- u16 *d = a3;
+ const u16 *d = a3;
struct OamData *oam = &gMain.oamBuffer[gMain.objCount];
while (!(gMain.objCount & 0x80) && (s16)(d[0] + 1) != 0)
{