mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-12-18 10:37:53 +01:00
Full Tilt hack - ball doesn't delay at ramp hole (#63)
This commit is contained in:
parent
0076f8947c
commit
8e07b7fc3f
1 changed files with 9 additions and 1 deletions
|
@ -81,7 +81,15 @@ void THole::Collision(TBall* ball, vector_type* nextPosition, vector_type* direc
|
||||||
ball->Position.X = Circle.Center.X;
|
ball->Position.X = Circle.Center.X;
|
||||||
ball->Position.Y = Circle.Center.Y;
|
ball->Position.Y = Circle.Center.Y;
|
||||||
ball->Acceleration.Z = 0.0;
|
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)
|
if (!PinballTable->TiltLockFlag)
|
||||||
{
|
{
|
||||||
loader::play_sound(HardHitSoundId);
|
loader::play_sound(HardHitSoundId);
|
||||||
|
|
Loading…
Reference in a new issue