Fixes rendering of treasure chest game items.

This commit is contained in:
Christopher Leggett
2022-08-20 18:00:44 -04:00
parent a67c6b9e67
commit 4dff1443a6
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -6078,7 +6078,7 @@ s16 GetChestGameRandoGiDrawId(s8 room, s16 ogDrawId, GlobalContext* globalCtx) {
GetItemEntry randoGetItem = GetChestGameRandoGetItem(room, ogDrawId, globalCtx);
if (randoGetItem.itemId != RG_NONE) {
return ABS(randoGetItem.gi) - 1;
return randoGetItem.gid;
}
return ogDrawId;