mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +00:00
Remove many redundant parentheses (eg. in boolean conditions) (#1220)
* Remove many unnecessary parens around boolean conditions * Remove duplicate parens in some expressions * Apply review suggestions * Update src/overlays/actors/ovl_Bg_Jya_Lift/z_bg_jya_lift.c Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
This commit is contained in:
parent
c799176a30
commit
92aef346f2
36 changed files with 67 additions and 67 deletions
|
@ -833,7 +833,7 @@ void func_8096F2B0(DemoEc* this, GlobalContext* globalCtx, s32 arg2) {
|
|||
|
||||
if (npcAction != NULL) {
|
||||
sp18 = npcAction->action;
|
||||
if ((sp18 != this->npcAction)) {
|
||||
if (sp18 != this->npcAction) {
|
||||
if (this->npcAction) {}
|
||||
if (sp18 == 2) {
|
||||
func_8096F224(this, globalCtx);
|
||||
|
@ -906,7 +906,7 @@ void func_8096F578(DemoEc* this, GlobalContext* globalCtx, s32 arg2) {
|
|||
npcAction = DemoEc_GetNpcAction(globalCtx, arg2);
|
||||
if (npcAction != NULL) {
|
||||
sp18 = npcAction->action;
|
||||
if ((sp18 != this->npcAction)) {
|
||||
if (sp18 != this->npcAction) {
|
||||
if (this->npcAction) {}
|
||||
if (sp18 == 2) {
|
||||
func_8096F4FC(this, globalCtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue