disable bbox padding when performing light los test to prevent shield transparency from blocking light artifacts

This commit is contained in:
joshuarwood committed 2026-03-12 23:59:10 -05:00
1 parent 246d737663
commit 0946cd18c6
2 files changed
+5 -1

No files matched your search

+4 -1
View File
@@ -4544,7 +4544,10 @@ void chrTestHit(struct prop *prop, struct shotdata *shotdata, bool isshooting, b
if (hitpart) {
if (chrGetShield(chr) > 0.0f) {
var8005efc0 = 10.0f / model->scale;
#ifndef PLATFORM_N64
if (g_BgHitXluDisabled == false)
#endif
var8005efc0 = 10.0f / model->scale;
}
child = prop->child;
+1
View File
@@ -295,6 +295,7 @@ extern s32 g_JpnMaxCacheItems;
extern s32 var8009d370jf;
#ifndef PLATFORM_N64
extern bool g_ValidGbcRomFound;
extern bool g_BgHitXluDisabled;
#endif
#endif