- block direct comparisons of TAngle with floats
This commit is contained in:
parent
f0fbdba593
commit
3d2578820b
19 changed files with 64 additions and 60 deletions
|
|
@ -119,7 +119,7 @@ void DScroller::Serialize(FSerializer &arc)
|
|||
static void RotationComp(const sector_t *sec, int which, double dx, double dy, double &tdx, double &tdy)
|
||||
{
|
||||
DAngle an = sec->GetAngle(which);
|
||||
if (an == 0)
|
||||
if (an == nullAngle)
|
||||
{
|
||||
tdx = dx;
|
||||
tdy = dy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue