diff --git a/src/game/Game/BallSystem.cpp b/src/game/Game/BallSystem.cpp index f515c8e..f435dfb 100644 --- a/src/game/Game/BallSystem.cpp +++ b/src/game/Game/BallSystem.cpp @@ -385,7 +385,7 @@ bool dd::Systems::BallSystem::OnMultiBall(const dd::Events::MultiBall &event) ball1->Waiting = false; ball2->Waiting = false; auto padTransform = event.padTransform; - float x1 = padTransform->Position.x - 2, x2 = padTransform->Position.x + 2; + float x1 = padTransform->Position.x/* - 2*/, x2 = padTransform->Position.x/* + 2*/; if (x1 < -m_EdgeX) { x1 = m_EdgeX - 0.2; } diff --git a/src/game/Physics/PhysicsSystem.cpp b/src/game/Physics/PhysicsSystem.cpp index 41de779..8d409d4 100755 --- a/src/game/Physics/PhysicsSystem.cpp +++ b/src/game/Physics/PhysicsSystem.cpp @@ -283,9 +283,11 @@ void dd::Systems::PhysicsSystem::OnEntityRemoved(EntityID entity) } -bool dd::Systems::PhysicsSystem::OnStageCleared(const dd::Events::StageCleared &event) +bool dd::Systems::PhysicsSystem::OnStageCleared(const dd::Events::StageCleared &event) { - m_Travelling = true; + if (event.ClearedStage < 5) { + m_Travelling = true; + } return true; }