diff options
author | Tim Angus <tim@ngus.net> | 2001-03-20 17:28:26 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-03-20 17:28:26 +0000 |
commit | 8810860bef57b702988faa8b7ecd1a0a0f267a62 (patch) | |
tree | b378a6d52a348fbf1d24d0454bb40feb7ae45472 /src/cgame/cg_main.c | |
parent | 996762d80d771075d1e9cb8530bde2c71e3b16b7 (diff) |
Small precaching bug fix
Diffstat (limited to 'src/cgame/cg_main.c')
-rw-r--r-- | src/cgame/cg_main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 01ae9552..fee26036 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -937,7 +937,8 @@ static void CG_RegisterClients( void ) { //CG_LoadingClient(cg.clientNum); //CG_NewClientInfo(cg.clientNum); - for (i=0 ; i<MAX_CLIENTS+MAX_PRECACHES; i++) { + //yeah ok its silly, but lets precache models before setting client defaults + for (i=MAX_CLIENTS+MAX_PRECACHES+1; i>=0; i--) { const char *clientInfo; if (cg.clientNum == i) { @@ -951,8 +952,8 @@ static void CG_RegisterClients( void ) { if( i < MAX_CLIENTS ) { - //CG_LoadingClient( i ); - //CG_NewClientInfo( i ); + CG_LoadingClient( i ); + CG_NewClientInfo( i ); } else { |