mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-20 05:51:18 +00:00
Fix misc 12 (#1222)
* (light) `src` to `src/code/code_8006C510.c` * `setup + entrance` -> `entrance + setup` * Decimal for `gdSPDefLights1` args (colors, unit vector) * Run formatter * `firstDone` bool -> `materialFlag` * `ENTR_MAX`: 0x613 -> 0x614 * revert `materialFlag` to bool++ for now
This commit is contained in:
parent
bf56c94f0f
commit
811b2d6ad2
7 changed files with 14 additions and 22 deletions
|
@ -1638,14 +1638,14 @@ void Environment_DrawRain(GlobalContext* globalCtx, View* view, GraphicsContext*
|
|||
|
||||
// draw droplet rings on the ground
|
||||
if (player->actor.world.pos.y < view->eye.y) {
|
||||
u8 firstDone = false;
|
||||
u8 materialFlag = false;
|
||||
|
||||
for (i = 0; i < globalCtx->envCtx.unk_EE[1]; i++) {
|
||||
if (!firstDone) {
|
||||
if (!materialFlag) {
|
||||
func_80093D84(gfxCtx);
|
||||
gDPSetEnvColor(POLY_XLU_DISP++, 155, 155, 155, 0);
|
||||
gDPSetPrimColor(POLY_XLU_DISP++, 0, 0, 255, 255, 255, 120);
|
||||
firstDone++;
|
||||
materialFlag++;
|
||||
}
|
||||
|
||||
Matrix_Translate(func_800746DC() * 280.0f + x280, player->actor.world.pos.y + 2.0f,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue