Browse Source

Do not crash on lost bodyque

gravgun
mittorn 8 years ago
parent
commit
61bdd7d95e
  1. 3
      dlls/world.cpp

3
dlls/world.cpp

@ -230,6 +230,9 @@ void CopyToBodyQue( entvars_t *pev ) @@ -230,6 +230,9 @@ void CopyToBodyQue( entvars_t *pev )
if( pev->effects & EF_NODRAW )
return;
if( !g_pBodyQueueHead )
InitBodyQue();
entvars_t *pevHead = VARS( g_pBodyQueueHead );
pevHead->angles = pev->angles;

Loading…
Cancel
Save