diff options
| author | Roman971 <32455037+Roman971@users.noreply.github.com> | 2020-08-23 23:50:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-23 17:50:30 -0400 |
| commit | 49609dd78bb586c8ab3349105ceedeb2eb0d91ea (patch) | |
| tree | c076c98bff5e83feb342219344ed027718519acf /src/code/z_view.c | |
| parent | 281aaa0cb6a55f19eceb322871a8d27da9e0e8b2 (diff) | |
Match/Improve a bunch of non matchings (#342)
Diffstat (limited to 'src/code/z_view.c')
| -rw-r--r-- | src/code/z_view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_view.c b/src/code/z_view.c index b0566e7a4..9ab4db07e 100644 --- a/src/code/z_view.c +++ b/src/code/z_view.c @@ -537,10 +537,10 @@ s32 func_800AB9EC(View* view, s32 arg1, Gfx** gfxp) { Mtx* projection; Mtx* viewing; - arg1 = (arg1 & view->flags) | (arg1 >> 4); + arg1 = (view->flags & arg1) | (arg1 >> 4); if (arg1 & 2) { - vp = Graph_Alloc(view->gfxCtx, sizeof(Vp)); + vp = Graph_Alloc(gfxCtx, sizeof(Vp)); LogUtils_CheckNullPointer("vp", vp, "../z_view.c", 910); View_ViewportToVp(vp, &view->viewport); |
