Merge branch 'polydoor_swing_overshoot_fix' of https://github.com/edward-san/zdoom

This commit is contained in:
Christoph Oelckers 2015-02-07 16:44:38 +01:00
commit 5d75df4869

View file

@ -679,10 +679,6 @@ void DPolyDoor::Tick ()
if (m_Dist <= 0 || poly->RotatePolyobj (m_Speed))
{
absSpeed = abs (m_Speed);
if (m_Dist == -1)
{ // perpetual polyobj
return;
}
m_Dist -= absSpeed;
if (m_Dist <= 0)
{