This commit is contained in:
Fazana
2021-09-27 21:17:10 +01:00
parent 6155b6416a
commit d0a9834f39
2 changed files with 2 additions and 10 deletions

View File

@@ -170,7 +170,7 @@
#define KOOPA_KEEP_PINK_SHORTS
// Lightweight directional lighting engine by Fazana. Intended for giving proximity and positional pointlights to small objects.
// NOTE: Stil breaks occasionally, and PUPPYLIGHT_NODE doesn't work in areas that aren't area 1.
//#define PUPPYLIGHTS
#define PUPPYLIGHTS
// -- AUDIO SETTINGS --
// Fixes the castle music sometimes triggering after getting a dialog

View File

@@ -208,15 +208,7 @@ s32 init_shadow(struct Shadow *s, f32 xPos, f32 yPos, f32 zPos, s16 shadowScale,
s->parentZ = zPos;
if (gCurGraphNodeObjectNode->oFloor != NULL)
{
s->floorHeight = gCurGraphNodeObjectNode->oFloorHeight;
floor = gCurGraphNodeObjectNode->oFloor;
}
else
{
s->floorHeight = find_floor(s->parentX, s->parentY, s->parentZ, &floor);
}
s->floorHeight = find_floor(s->parentX, s->parentY, s->parentZ, &floor);
waterLevel = get_water_level_below_shadow(s, &waterFloor);