mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-01 13:52:19 -05:00
workaround for vanilla save check tracker crash (#2359)
Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
418d0f8e6c
commit
f665326a67
@ -286,6 +286,11 @@ Item& ItemFromGIID(const int giid) {
|
|||||||
}
|
}
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// there are vanilla items that don't exist in the item table we're reading from here
|
||||||
|
// if we made it this far, it means we didn't find an item in the table
|
||||||
|
// if we don't return anything, the game will crash, so, as a workaround, return greg
|
||||||
|
return itemTable[GREEN_RUPEE];
|
||||||
}
|
}
|
||||||
|
|
||||||
//This function should only be used to place items containing hint text
|
//This function should only be used to place items containing hint text
|
||||||
|
Loading…
Reference in New Issue
Block a user