1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-05-10 02:54:24 +00:00

apply review suggestions

https://github.com/zeldaret/oot/pull/2295#discussion_r1912517978
This commit is contained in:
feacur 2025-01-14 13:37:21 +01:00
parent dee9afcb07
commit ea099abec3

View file

@ -1817,7 +1817,6 @@ void EnGo2_HandleOffer(EnGo2* this, PlayState* play) {
#endif
this->actionFunc = EnGo2_HandleOfferParented;
} else {
// @redundant: this action is always paired with `EnGo2_OfferItem`, which itself calls `Actor_OfferGetItem`
Actor_OfferGetItem(&this->actor, play, this->getItemId, this->actor.xzDistToPlayer + 1.0f,
fabsf(this->actor.yDistToPlayer) + 1.0f);
}