示例#1
0
void CL_UpdateCharacterValues (const character_t* chr)
{
	CL_CharacterSkillAndScoreCvars(chr);

	if (chr->teamDef->robot)
		CL_UGVCvars(chr);
	else
		CL_ActorCvars(chr);

	GAME_CharacterCvars(chr);
}
示例#2
0
void CL_UpdateCharacterValues (const character_t *chr, const char *cvarPrefix)
{
	CL_CharacterSkillAndScoreCvars(chr, cvarPrefix);

	if (chr->teamDef->race == RACE_ROBOT)
		CL_UGVCvars(chr);
	else
		CL_ActorCvars(chr, cvarPrefix);

	GAME_CharacterCvars(chr);
}