- fixed missing sound for Polyobj_MoveTo.

This commit is contained in:
Christoph Oelckers 2020-05-25 16:24:06 +02:00 committed by drfrag
parent be13bbb9a2
commit 8c9cf5234a

View file

@ -572,6 +572,7 @@ bool EV_MovePolyTo(line_t *line, int polyNum, double speed, const DVector2 &targ
pe->m_Speed = speed;
pe->m_Speedv = dist * speed;
pe->m_Target = poly->StartSpot.pos + dist * distlen;
SN_StartSequence(poly, poly->seqType, SEQ_DOOR, 0);
if ((pe->m_Dist / pe->m_Speed) <= 2)
{
pe->StopInterpolation();