From d5d082166c8d31897afa8a24c0cf58b8325f3d21 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Sun, 4 Jun 2023 22:49:35 +0530 Subject: [PATCH] fix broken MP collisions --- src/PathedInterior.hx | 2 +- src/gui/MainMenuGui.hx | 2 +- src/rewind/RewindFrame.hx | 2 ++ src/rewind/RewindManager.hx | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/PathedInterior.hx b/src/PathedInterior.hx index 3abb1dff..2eba450e 100644 --- a/src/PathedInterior.hx +++ b/src/PathedInterior.hx @@ -173,7 +173,7 @@ class PathedInterior extends InteriorObject { return; var newp = this.getAbsPos().getPosition().add(velocity.multiply(timeDelta)); this.setPosition(newp.x, newp.y, newp.z); - this.collider.setTransform(this.getTransform()); + this.setTransform(this.getTransform()); if (this.soundChannel != null) { var spat = this.soundChannel.getEffect(Spatialization); diff --git a/src/gui/MainMenuGui.hx b/src/gui/MainMenuGui.hx index f279e535..cf5f78d5 100644 --- a/src/gui/MainMenuGui.hx +++ b/src/gui/MainMenuGui.hx @@ -178,7 +178,7 @@ class MainMenuGui extends GuiImage { versionText.vertSizing = Bottom; versionText.position = new Vector(502, 61); versionText.extent = new Vector(97, 72); - versionText.text.text = "
1.5.0
"; + versionText.text.text = "1.5.1
"; versionText.text.filter = new DropShadow(1.414, 0.785, 0x3333337F, 1, 0, 0.7, 1, true); this.addChild(versionText); diff --git a/src/rewind/RewindFrame.hx b/src/rewind/RewindFrame.hx index e2350958..5b320b23 100644 --- a/src/rewind/RewindFrame.hx +++ b/src/rewind/RewindFrame.hx @@ -22,6 +22,7 @@ class RewindFrame { var mpStates:Array<{ curState:PIState, stopped:Bool, + position:Vector }>; var gemCount:Int; var gemStates:Array