mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Fix compilation after merge.
This commit is contained in:
parent
b56b565b4a
commit
6dc1824fb1
@ -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;
|
||||
}
|
||||
|
@ -575,7 +575,7 @@ void CBaseToggle :: LinearMoveNow( void )
|
||||
|
||||
if( flTravelTime < 0.05 )
|
||||
{
|
||||
UTIL_SetOrigin( pev, m_vecFinalDest );
|
||||
UTIL_SetOrigin( this, m_vecFinalDest );
|
||||
LinearMoveDone();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user