mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Correct the transformation OOB bugfix (#483)
This commit is contained in:
@@ -10584,7 +10584,7 @@ void func_80841358(PlayState* play, Player* this, s32 arg2) {
|
||||
|
||||
//! @bug OoB read if player is goron, deku or human
|
||||
// 2S2H [Port] - Set item to kokiri sword instead of OOB behaviour
|
||||
if (this->transformation > 2) {
|
||||
if (this->transformation >= 2) {
|
||||
item = ITEM_SWORD_KOKIRI;
|
||||
} else {
|
||||
item = D_8085D2B0[this->transformation];
|
||||
|
||||
Reference in New Issue
Block a user