- disable implicit conversions from float to TAngle

This commit is contained in:
Christoph Oelckers 2022-08-26 00:56:53 +02:00
commit f0fbdba593
66 changed files with 425 additions and 374 deletions

View file

@ -232,7 +232,7 @@ void DPusher::Tick ()
if ((speed > 0) && (P_CheckSight (thing, m_Source, SF_IGNOREVISIBILITY)))
{
DAngle pushangle = pos.Angle();
if (m_Source->IsKindOf(NAME_PointPuller)) pushangle += 180;
if (m_Source->IsKindOf(NAME_PointPuller)) pushangle += DAngle::fromDeg(180);
thing->Thrust(pushangle, speed);
}
}