- disable implicit conversions from float to TAngle
This commit is contained in:
parent
8468f712e0
commit
f0fbdba593
66 changed files with 425 additions and 374 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue