mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
Update z_en_floormas.c
This commit is contained in:
parent
90efd7d361
commit
e3fe337a6e
1 changed files with 2 additions and 3 deletions
|
@ -427,9 +427,8 @@ void EnFloormas_SetupFreeze(EnFloormas* this) {
|
|||
}
|
||||
|
||||
void EnFloormas_Die(EnFloormas* this, GlobalContext* globalCtx) {
|
||||
//Originally was doing > 0.004f that is not correct since apparently
|
||||
//that not 0.004f precisly therefore making a bit of size margin help.
|
||||
if (this->actor.scale.x > 0.005f) {
|
||||
//Originally was doing > 0.004f, better fix thanks Gary :D
|
||||
if (this->actor.scale.x > (f32)0.004f) {
|
||||
// split
|
||||
this->actor.shape.rot.y = this->actor.yawTowardsPlayer + 0x8000;
|
||||
EnFloormas_SetupSplit((EnFloormas*)this->actor.child);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue