mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 09:22:18 -05:00
[Fix] Static Bomb Radius (#2515)
This commit is contained in:
parent
12e1814dad
commit
4a4f7e6d96
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user