diff --git a/include/config.h b/include/config.h index 7665ea0c..ce8e5278 100644 --- a/include/config.h +++ b/include/config.h @@ -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 diff --git a/src/game/shadow.c b/src/game/shadow.c index 79bb07ca..087d26a9 100644 --- a/src/game/shadow.c +++ b/src/game/shadow.c @@ -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);