mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
- fixed missing sound for Polyobj_MoveTo.
This commit is contained in:
parent
5c86ad8507
commit
991661e11e
1 changed files with 1 additions and 0 deletions
|
@ -511,6 +511,7 @@ bool EV_MovePolyTo(FLevelLocals *Level, line_t *line, int polyNum, double speed,
|
||||||
pe->m_Speed = speed;
|
pe->m_Speed = speed;
|
||||||
pe->m_Speedv = dist * speed;
|
pe->m_Speedv = dist * speed;
|
||||||
pe->m_Target = poly->StartSpot.pos + dist * distlen;
|
pe->m_Target = poly->StartSpot.pos + dist * distlen;
|
||||||
|
SN_StartSequence(poly, poly->seqType, SEQ_DOOR, 0);
|
||||||
if ((pe->m_Dist / pe->m_Speed) <= 2)
|
if ((pe->m_Dist / pe->m_Speed) <= 2)
|
||||||
{
|
{
|
||||||
pe->StopInterpolation();
|
pe->StopInterpolation();
|
||||||
|
|
Loading…
Reference in a new issue