mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-05-31 09:31:26 -04:00
Fixes rendering of treasure chest game items.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user