mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-24 07:05:34 -07:00
Additional fog fixes.
This commit is contained in:
parent
f146101d17
commit
9f42192ba7
1 changed files with 3 additions and 2 deletions
|
@ -1601,8 +1601,7 @@ void func_80091A24(GlobalContext* globalCtx, void* seg04, void* seg06, SkelAnime
|
||||||
|
|
||||||
func_80093C80(globalCtx);
|
func_80093C80(globalCtx);
|
||||||
|
|
||||||
// OTRTODO: Commenting out this line fixes the fog issue... but at what cost?
|
POLY_OPA_DISP = Gfx_SetFog2(POLY_OPA_DISP++, 0, 0, 0, 0, 997, 1000);
|
||||||
//POLY_OPA_DISP = Gfx_SetFog2(POLY_OPA_DISP++, 0, 0, 0, 0, 997, 1000);
|
|
||||||
|
|
||||||
func_8002EABC(pos, &globalCtx->view.eye, &lightDir, globalCtx->state.gfxCtx);
|
func_8002EABC(pos, &globalCtx->view.eye, &lightDir, globalCtx->state.gfxCtx);
|
||||||
|
|
||||||
|
@ -1626,6 +1625,8 @@ void func_80091A24(GlobalContext* globalCtx, void* seg04, void* seg06, SkelAnime
|
||||||
POLY_XLU_DISP = ohNo;
|
POLY_XLU_DISP = ohNo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
POLY_OPA_DISP = Gameplay_SetFog(globalCtx, POLY_OPA_DISP++);
|
||||||
|
|
||||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_player_lib.c", 3288);
|
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_player_lib.c", 3288);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue