- fixed missing sound for Polyobj_MoveTo.

This commit is contained in:
Christoph Oelckers 2020-05-25 16:24:06 +02:00
parent 5c86ad8507
commit 991661e11e

View file

@ -511,6 +511,7 @@ bool EV_MovePolyTo(FLevelLocals *Level, line_t *line, int polyNum, double speed,
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();