summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authorLucas Shaw <49287729+shawlucas@users.noreply.github.com>2020-04-22 10:20:49 -0700
committerGitHub <noreply@github.com>2020-04-22 13:20:49 -0400
commit3c440ef7f1172f49aba2618922cd401155392599 (patch)
tree9a5fdef4dcdadc9d472a4610196aa4cb7c8ebede /src/code/z_actor.c
parent06b731c494b44e71422231872750acc35445392c (diff)
Finished code_801031F0.c, guPosition.c, guLookAtHilite.c (#84)
* started microcode decomp * Modified spec to fix error * osContGetQuery OK * Decompiled guLookAtHilite.c * guPosition.c OK * Fixed formatting * osViSetEvent.c OK * Deleted unnecessary files * Made suggested changes, merged playblack.c * Removed line breaks from comments * Removed argument listing
Diffstat (limited to 'src/code/z_actor.c')
-rw-r--r--src/code/z_actor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 89b7e3e52..149959ac5 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -1320,8 +1320,9 @@ Gfx* func_8002E830(Vec3f* object, Vec3f* eye, Vec3f* lightDir, GraphicsContext*
}
func_800ABE74(correctedEyeX, eye->y, eye->z);
- func_80103A70(&D_8015BBA8, lookAt, *hilite, correctedEyeX, eye->y, eye->z, object->x, object->y, object->z, 0.0f,
- 1.0f, 0.0f, lightDir->x, lightDir->y, lightDir->z, lightDir->x, lightDir->y, lightDir->z, 0x10, 0x10);
+ guLookAtHilite(&D_8015BBA8, lookAt, *hilite, correctedEyeX, eye->y, eye->z, object->x, object->y, object->z, 0.0f,
+ 1.0f, 0.0f, lightDir->x, lightDir->y, lightDir->z, lightDir->x, lightDir->y, lightDir->z, 0x10,
+ 0x10);
gSPLookAt(gfx++, lookAt);
gDPSetHilite1Tile(gfx++, 1, *hilite, 0x10, 0x10);