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:
parent
dee9afcb07
commit
ea099abec3
1 changed files with 0 additions and 1 deletions
|
@ -1817,7 +1817,6 @@ void EnGo2_HandleOffer(EnGo2* this, PlayState* play) {
|
||||||
#endif
|
#endif
|
||||||
this->actionFunc = EnGo2_HandleOfferParented;
|
this->actionFunc = EnGo2_HandleOfferParented;
|
||||||
} else {
|
} 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,
|
Actor_OfferGetItem(&this->actor, play, this->getItemId, this->actor.xzDistToPlayer + 1.0f,
|
||||||
fabsf(this->actor.yDistToPlayer) + 1.0f);
|
fabsf(this->actor.yDistToPlayer) + 1.0f);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue