mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
Merge branch 'polydoor_swing_overshoot_fix' of https://github.com/edward-san/zdoom
This commit is contained in:
commit
5d75df4869
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue