[Fix] Static Bomb Radius (#2515)

This commit is contained in:
Ralphie Morell 2023-02-21 02:49:53 -05:00 committed by GitHub
parent 12e1814dad
commit 4a4f7e6d96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,7 +178,8 @@ void EnBom_Explode(EnBom* this, PlayState* play) {
}
if (CVarGetInteger("gStaticExplosionRadius", 0)) {
this->explosionCollider.elements[0].dim.worldSphere.radius = 40;
//72 is the maximum radius of an OoT bomb explosion
this->explosionCollider.elements[0].dim.worldSphere.radius = 72;
} else {
this->explosionCollider.elements[0].dim.worldSphere.radius += this->actor.shape.rot.z + 8;
}