Fix compilation after merge.

This commit is contained in:
Andrey Akhmichin 2019-07-07 23:02:57 +05:00
parent b56b565b4a
commit 6dc1824fb1
2 changed files with 2 additions and 1 deletions

View File

@ -1394,6 +1394,7 @@ void CMomentaryDoor::Use( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYP
void CMomentaryDoor::MomentaryMoveDone( void )
{
m_iState = STATE_OFF;
SetThink(&CMomentaryDoor::StopMoveSound);
pev->nextthink = pev->ltime + 0.1;
}

View File

@ -575,7 +575,7 @@ void CBaseToggle :: LinearMoveNow( void )
if( flTravelTime < 0.05 )
{
UTIL_SetOrigin( pev, m_vecFinalDest );
UTIL_SetOrigin( this, m_vecFinalDest );
LinearMoveDone();
return;
}