Advertisement
Guest User

ProcessInterpolatedList

a guest
Nov 20th, 2015
785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. void C_BaseEntity::ProcessInterpolatedList()
  2. {
  3.     CheckInterpolatedVarParanoidMeasurement();
  4.  
  5.     // Interpolate the minimal set of entities that need it.
  6.     int iNext;
  7.     for ( int iCur=g_InterpolationList.Head(); iCur != g_InterpolationList.InvalidIndex(); iCur=iNext )
  8.     {
  9.         iNext = g_InterpolationList.Next( iCur );
  10.         C_BaseEntity *pCur = g_InterpolationList[iCur];
  11.        
  12.         pCur->m_bReadyToDraw = pCur->Interpolate( gpGlobals->curtime );
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement