mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'real-shorter-shoe' into 'master'
Actually shorten Stone Shoe See merge request kart-krew-dev/ring-racers-internal!2965
This commit is contained in:
commit
8a55463587
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ struct Shoe : Mobj
|
||||||
bool valid() const { return Mobj::valid(follow()) && follow()->valid() && Mobj::valid(chain()); }
|
bool valid() const { return Mobj::valid(follow()) && follow()->valid() && Mobj::valid(chain()); }
|
||||||
|
|
||||||
Fixed minDist() const { return 200 * mapobjectscale; }
|
Fixed minDist() const { return 200 * mapobjectscale; }
|
||||||
Fixed maxDist() const { return 800 * mapobjectscale; }
|
Fixed maxDist() const { return 500 * mapobjectscale; }
|
||||||
|
|
||||||
angle_t followAngle() const { return R_PointToAngle2(x, y, follow()->x, follow()->y); }
|
angle_t followAngle() const { return R_PointToAngle2(x, y, follow()->x, follow()->y); }
|
||||||
Fixed followDistance() const { return FixedHypot(x - follow()->x, y - follow()->y); }
|
Fixed followDistance() const { return FixedHypot(x - follow()->x, y - follow()->y); }
|
||||||
|
|
@ -237,7 +237,7 @@ private:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
thrust(a, 8 * mapobjectscale);
|
thrust(a, 10 * mapobjectscale);
|
||||||
|
|
||||||
Fixed maxSpeed = 32 * mapobjectscale;
|
Fixed maxSpeed = 32 * mapobjectscale;
|
||||||
Fixed speed = FixedHypot(momx, momy);
|
Fixed speed = FixedHypot(momx, momy);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue