mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-31 13:50:55 +00:00
cg_forceModel teamplay fix.
This commit is contained in:
parent
1aac35f129
commit
892d3161ca
2 changed files with 9 additions and 3 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.83 2002/06/13 19:03:22 niceass
|
||||||
|
// cg_forceModel teamplay fix.
|
||||||
|
//
|
||||||
// Revision 1.82 2002/06/12 22:31:59 slicer
|
// Revision 1.82 2002/06/12 22:31:59 slicer
|
||||||
// Even better way to improve the Cvar Anti-Cheat System
|
// Even better way to improve the Cvar Anti-Cheat System
|
||||||
//
|
//
|
||||||
|
@ -665,7 +668,7 @@ void CG_UpdateCvars( void ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// if force model changed
|
// if force model changed
|
||||||
if ( forceModelModificationCount != cg_forceModel.modificationCount ) {
|
if ( forceModelModificationCount != cg_forceModel.modificationCount && cgs.gametype < GT_TEAM ) {
|
||||||
forceModelModificationCount = cg_forceModel.modificationCount;
|
forceModelModificationCount = cg_forceModel.modificationCount;
|
||||||
CG_ForceModelChange();
|
CG_ForceModelChange();
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.31 2002/06/13 19:03:22 niceass
|
||||||
|
// cg_forceModel teamplay fix.
|
||||||
|
//
|
||||||
// Revision 1.30 2002/06/09 18:58:40 makro
|
// Revision 1.30 2002/06/09 18:58:40 makro
|
||||||
// no message
|
// no message
|
||||||
//
|
//
|
||||||
|
@ -1030,7 +1033,7 @@ void CG_NewClientInfo( int clientNum ) {
|
||||||
|
|
||||||
// model
|
// model
|
||||||
v = Info_ValueForKey( configstring, "model" );
|
v = Info_ValueForKey( configstring, "model" );
|
||||||
if ( cg_forceModel.integer ) {
|
if ( cg_forceModel.integer && cgs.gametype < GT_TEAM ) {
|
||||||
// forcemodel makes everyone use a single model
|
// forcemodel makes everyone use a single model
|
||||||
// to prevent load hitches
|
// to prevent load hitches
|
||||||
char modelStr[MAX_QPATH];
|
char modelStr[MAX_QPATH];
|
||||||
|
@ -1074,7 +1077,7 @@ void CG_NewClientInfo( int clientNum ) {
|
||||||
|
|
||||||
// head model
|
// head model
|
||||||
v = Info_ValueForKey( configstring, "hmodel" );
|
v = Info_ValueForKey( configstring, "hmodel" );
|
||||||
if ( cg_forceModel.integer ) {
|
if ( cg_forceModel.integer && cgs.gametype < GT_TEAM ) {
|
||||||
// forcemodel makes everyone use a single model
|
// forcemodel makes everyone use a single model
|
||||||
// to prevent load hitches
|
// to prevent load hitches
|
||||||
char modelStr[MAX_QPATH];
|
char modelStr[MAX_QPATH];
|
||||||
|
|
Loading…
Reference in a new issue