Browse Source

Fix wrong timer check.

poke646
Andrey Akhmichin 5 years ago
parent
commit
18120f5297
  1. 2
      dlls/poke646/robocop.cpp

2
dlls/poke646/robocop.cpp

@ -772,7 +772,7 @@ void CRoboCop::RunTask( Task_t *pTask )
break; break;
case TASK_DIE: case TASK_DIE:
if( m_flWaitFinished > gpGlobals->time ) if( m_flWaitFinished <= gpGlobals->time )
{ {
if( m_fSequenceFinished && pev->frame >= 255.0f ) if( m_fSequenceFinished && pev->frame >= 255.0f )
{ {

Loading…
Cancel
Save