summaryrefslogtreecommitdiff
path: root/src/code/z_scene.c
diff options
context:
space:
mode:
authorRozelette <Rozelette@users.noreply.github.com>2021-03-27 14:29:30 -0500
committerGitHub <noreply@github.com>2021-03-27 14:29:30 -0500
commitfee7a49abc84fbe91116f969a90570cff15decde (patch)
tree972de249287b0f1d11f04aeb33d28d4e7140f75e /src/code/z_scene.c
parent012e3c21aeb43437d53a90c2fbd8dfe525d95915 (diff)
z_lights fully matched (#80)
* z_lights OK * Documentation * Fixup for z_collision_check * Improve function types of bind functions * Fixup for types
Diffstat (limited to 'src/code/z_scene.c')
-rw-r--r--src/code/z_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_scene.c b/src/code/z_scene.c
index e697bd871..8a0ed87b7 100644
--- a/src/code/z_scene.c
+++ b/src/code/z_scene.c
@@ -310,7 +310,7 @@ void Scene_HeaderCommand0C(GlobalContext* ctxt, SceneCmd* entry) {
lightInfo = (LightInfo*)Lib_PtrSegToVirt(entry->lightList.segment);
for (i = 0; i < entry->lightList.num; i++)
{
- Lights_Insert(ctxt, &ctxt->lightCtx, lightInfo);
+ LightContext_InsertLight(ctxt, &ctxt->lightCtx, lightInfo);
lightInfo++;
}
}