mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-03 17:32:40 +00:00
- fixed missing sound for Polyobj_MoveTo.
This commit is contained in:
parent
be13bbb9a2
commit
8c9cf5234a
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue