TBlocker, TBumper, TFlagSpinner, TGate, THole, TKickback, TWall ready.

This commit is contained in:
oz committed 2021-01-16 17:45:29 +03:00
1 parent 61fe0410b0
commit ffd626fbc1
17 files changed
+812 -23

No files matched your search

+1 -1
View File
@@ -446,7 +446,7 @@ int TFlipperEdge::is_ball_inside(float x, float y)
dy * dy + dx * dx <= CirclebaseRadiusSq ||
(T1.Y - y) * (T1.Y - y) + (T1.X - x) * (T1.X - x) < CircleT1RadiusSq)
{
float flipperLR = AngleMax < 0.0 ? -1 : 1;
float flipperLR = AngleMax < 0.0 ? -1.0f : 1.0f;
if (FlipperFlag == 1)
testPoint = AngleMax < 0.0 ? B1 : B2;
else if (FlipperFlag == 2)