mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 21:33:40 -07:00
[Fix] Static Bomb Radius (#2515)
This commit is contained in:
parent
12e1814dad
commit
4a4f7e6d96
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue