mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine, ref: RefAPI 5. Simplify remap calls
This commit is contained in:
@@ -2384,13 +2384,8 @@ R_StudioSetRemapColors
|
||||
*/
|
||||
static void R_StudioSetRemapColors( int newTop, int newBottom )
|
||||
{
|
||||
gEngfuncs.CL_AllocRemapInfo( RI.currententity, RI.currentmodel, newTop, newBottom );
|
||||
|
||||
if( gEngfuncs.CL_GetRemapInfoForEntity( RI.currententity ))
|
||||
{
|
||||
gEngfuncs.CL_UpdateRemapInfo( RI.currententity, newTop, newBottom );
|
||||
if( gEngfuncs.CL_EntitySetRemapColors( RI.currententity, RI.currentmodel, newTop, newBottom ))
|
||||
m_fDoRemap = true;
|
||||
}
|
||||
}
|
||||
|
||||
void R_StudioResetPlayerModels( void )
|
||||
|
||||
Reference in New Issue
Block a user