summaryrefslogtreecommitdiff
path: root/src/code/z_scene.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2020-09-05 09:45:10 -0400
committerGitHub <noreply@github.com>2020-09-05 09:45:10 -0400
commitbb1aacbd0b5cf2b4afd51da772c2ecf7a864e6d1 (patch)
tree4c5285b433d8b9875b42f2c9c5d4a671fb56cdf9 /src/code/z_scene.c
parent612980f90cab73253f83e3f0f9d87bfb08af32e8 (diff)
z_lights.c OK (#343)
* rename some structs * changes * rename stuff and start a func * progress * progress * progress * remove unwanted file * progress * match last few funcs * done, i think * small changes * match Lights_Draw (thanks krim) * comments * cleanup * most pr suggestions * name changes * rename
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 436fc72c6..733d08fa4 100644
--- a/src/code/z_scene.c
+++ b/src/code/z_scene.c
@@ -336,7 +336,7 @@ void func_80098B74(GlobalContext* globalCtx, SceneCmd* cmd) {
lightInfo = SEGMENTED_TO_VIRTUAL(cmd->lightList.segment);
for (i = 0; i < cmd->lightList.num; i++) {
- Lights_Insert(globalCtx, &globalCtx->lightCtx, lightInfo);
+ LightContext_InsertLight(globalCtx, &globalCtx->lightCtx, lightInfo);
lightInfo++;
}
}