mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-08-09 11:14:16 -04:00
Fix freecam lighting
This commit is contained in:
+3
-1
@@ -346,7 +346,9 @@ void CM_RenderCourse(struct UnkStruct_800DC5EC* arg0) {
|
||||
if (gWorldInstance.CurrentCourse->IsMod() == false) {
|
||||
if ((CVarGetInteger("gFreecam", 0) == true)) {
|
||||
// Render credits courses
|
||||
func_8029569C();
|
||||
gSPClearGeometryMode(gDisplayListHead++, G_LIGHTING);
|
||||
gSPSetGeometryMode(gDisplayListHead++, G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH);
|
||||
render_credits();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1320,7 +1320,7 @@ void render_big_donut(struct UnkStruct_800DC5EC* arg0) {
|
||||
gSPDisplayList(gDisplayListHead++, ((uintptr_t) segmented_gfx_to_virtual(0x07000230)));
|
||||
}
|
||||
|
||||
void func_8029569C(void) {
|
||||
void render_credits(void) {
|
||||
|
||||
CM_RenderCredits();
|
||||
|
||||
@@ -1398,7 +1398,7 @@ void render_course(struct UnkStruct_800DC5EC* arg0) {
|
||||
}
|
||||
|
||||
if (creditsRenderMode) {
|
||||
func_8029569C();
|
||||
render_credits();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ void render_skyscraper(struct UnkStruct_800DC5EC*);
|
||||
void render_double_deck(struct UnkStruct_800DC5EC*);
|
||||
void render_dks_jungle_parkway(struct UnkStruct_800DC5EC*);
|
||||
void render_big_donut(struct UnkStruct_800DC5EC*);
|
||||
void func_8029569C(void);
|
||||
void render_credits(void);
|
||||
void course_init(void);
|
||||
void render_course(struct UnkStruct_800DC5EC*);
|
||||
void func_80295BF8(s32);
|
||||
|
||||
Reference in New Issue
Block a user