- 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

@ -415,11 +415,11 @@ bool AActor::FixMapthingPos()
DAngle ang = ldef->Delta().Angle();
if (ldef->backsector != NULL && ldef->backsector == secstart)
{
ang += 90.;
ang += DAngle::fromDeg(90.);
}
else
{
ang -= 90.;
ang -= DAngle::fromDeg(90.);
}
// Get the distance we have to move the object away from the wall