03 Oct 2011
This commit is contained in:
parent
58a9f1f0b2
commit
378412a8f5
|
@ -280,6 +280,7 @@ void CL_AllocRemapInfo( int topcolor, int bottomcolor )
|
|||
mstudiotexture_t *src, *dst;
|
||||
int i, size;
|
||||
|
||||
if( !RI.currententity ) return;
|
||||
i = ( RI.currententity == &clgame.viewent ) ? clgame.maxEntities : RI.currententity->curstate.number;
|
||||
|
||||
if( !RI.currentmodel || RI.currentmodel->type != mod_studio )
|
||||
|
|
|
@ -331,7 +331,7 @@ pfnGetEngineTimes
|
|||
static void pfnGetEngineTimes( int *framecount, double *current, double *old )
|
||||
{
|
||||
if( framecount ) *framecount = tr.framecount;
|
||||
if( current ) *current = RI.refdef.time;
|
||||
if( current ) *current = cl.time;
|
||||
if( old ) *old = cl.oldtime;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue