Browse Source

Fix compilation after merge.

echoes
Andrey Akhmichin 5 years ago
parent
commit
6dc1824fb1
  1. 1
      dlls/doors.cpp
  2. 2
      dlls/subs.cpp

1
dlls/doors.cpp

@ -1394,6 +1394,7 @@ void CMomentaryDoor::Use( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYP @@ -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;
}

2
dlls/subs.cpp

@ -575,7 +575,7 @@ void CBaseToggle :: LinearMoveNow( void ) @@ -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…
Cancel
Save