03 Oct 2011

This commit is contained in:
g-cont 2011-10-03 00:00:00 +04:00 committed by Alibek Omarov
parent 58a9f1f0b2
commit 378412a8f5
2 changed files with 2 additions and 1 deletions

View File

@ -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 )

View File

@ -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;
}