mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-25 04:02:30 +01: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.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 New Issue
Block a user