From 8e07b7fc3fea6ab06154a18eaf77432c131adafd Mon Sep 17 00:00:00 2001 From: Desgging <1397755924@qq.com> Date: Sat, 23 Oct 2021 12:31:25 +0800 Subject: [PATCH] Full Tilt hack - ball doesn't delay at ramp hole (#63) --- SpaceCadetPinball/THole.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SpaceCadetPinball/THole.cpp b/SpaceCadetPinball/THole.cpp index 53bab24..531e1df 100644 --- a/SpaceCadetPinball/THole.cpp +++ b/SpaceCadetPinball/THole.cpp @@ -81,7 +81,15 @@ void THole::Collision(TBall* ball, vector_type* nextPosition, vector_type* direc ball->Position.X = Circle.Center.X; ball->Position.Y = Circle.Center.Y; ball->Acceleration.Z = 0.0; - Timer = timer::set(0.5f, this, TimerExpired); + /*Full Tilt hack - ball doesn't delay at the ramp hole*/ + if (pb::FullTiltMode) + { + BallCapturedSecondStage = 1; + } + else + { + Timer = timer::set(0.5f, this, TimerExpired); + } if (!PinballTable->TiltLockFlag) { loader::play_sound(HardHitSoundId);