mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2023-12-30 21:52:56 +00:00
Full Tilt hack - ball doesn't delay at ramp hole (#63)
This commit is contained in:
parent
0076f8947c
commit
8e07b7fc3f
@ -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;
|
||||
/*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);
|
||||
|
Loading…
Reference in New Issue
Block a user