mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
disable bbox padding when performing light los test to prevent shield transparency from blocking light artifacts
This commit is contained in:
1 parent
246d737663
commit
0946cd18c6
2 files changed
+5
-1
No files matched your search
+4
-1
@@ -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;
|
||||
|
||||
@@ -295,6 +295,7 @@ extern s32 g_JpnMaxCacheItems;
|
||||
extern s32 var8009d370jf;
|
||||
#ifndef PLATFORM_N64
|
||||
extern bool g_ValidGbcRomFound;
|
||||
extern bool g_BgHitXluDisabled;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user