mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-07 15:31:02 +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))
|
if (m_Dist <= 0 || poly->RotatePolyobj (m_Speed))
|
||||||
{
|
{
|
||||||
absSpeed = abs (m_Speed);
|
absSpeed = abs (m_Speed);
|
||||||
if (m_Dist == -1)
|
|
||||||
{ // perpetual polyobj
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
m_Dist -= absSpeed;
|
m_Dist -= absSpeed;
|
||||||
if (m_Dist <= 0)
|
if (m_Dist <= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue