mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +00:00
Fix misc 11 (#1209)
* Pass boolean for `freezeFlag` to `Actor_SetDropFlag` * Use `else if`s in `func_80835F44` * Cleanup `transitionCtx` usage of instance data * `TransitionContext.setEnvColor` -> `TransitionContext.setUnkColor` * Fixup one comment * linebreaks (#1) * Run formatter Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
765cfd63e9
commit
ca77b26c90
35 changed files with 79 additions and 93 deletions
|
@ -449,7 +449,7 @@ void func_80AFD968(EnSkb* this, GlobalContext* globalCtx) {
|
|||
this->collider.base.acFlags &= ~2;
|
||||
if (this->actor.colChkInfo.damageEffect != 6) {
|
||||
this->unk_282 = this->actor.colChkInfo.damageEffect;
|
||||
Actor_SetDropFlag(&this->actor, &this->collider.elements[1].info, 1);
|
||||
Actor_SetDropFlag(&this->actor, &this->collider.elements[1].info, true);
|
||||
this->unk_281 = 0;
|
||||
if (this->actor.colChkInfo.damageEffect == 1) {
|
||||
if (this->unk_280 != 6) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue