summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-02-14 04:47:52 +0000
committerTim Angus <tim@ngus.net>2003-02-14 04:47:52 +0000
commitb9e28692c2f13c07974fb389d92d805234c8893c (patch)
tree7bed3bd37bb79962450c9a1edb8bb8bb2c9ee350 /src/game
parent21897ddb12f534b6f78521815ea91c0e30d81e1c (diff)
* Model precaching moved entirely to the client side
* Armour skins and battlesuit/helmet models now used
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_client.c2
-rw-r--r--src/game/g_main.c26
2 files changed, 1 insertions, 27 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index edd2ebed..317dde15 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -707,7 +707,7 @@ void SpawnCorpse( gentity_t *ent )
body->timestamp = level.time;
body->s.event = 0;
body->r.contents = CONTENTS_CORPSE;
- body->clipmask = CONTENTS_SOLID | CONTENTS_PLAYERCLIP;
+ body->clipmask = MASK_DEADSOLID;
body->s.clientNum = ent->client->ps.stats[ STAT_PCLASS ];
body->nonSegModel = ent->client->ps.persistant[ PERS_STATE ] & PS_NONSEGMODEL;
diff --git a/src/game/g_main.c b/src/game/g_main.c
index d77abc86..dbaef63b 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -325,31 +325,6 @@ void G_FindTeams( void )
G_Printf( "%i teams with %i entities\n", c, c2 );
}
-/*
-=================
-G_RegisterPlayerModels
-=================
-*/
-void G_RegisterPlayerModels( void )
-{
- char buffer[ MAX_INFO_STRING ];
- char *s;
- int i;
-
- for( i = PCL_NONE + 1; i < PCL_NUM_CLASSES; i++ )
- {
- Com_sprintf( buffer, MAX_INFO_STRING, "%s/%s",
- BG_FindModelNameForClass( i ), BG_FindSkinNameForClass( i ) );
- s = va( "n\\%s%d\\t\\%i\\model\\%s\\hmodel\\%s\\g_redteam\\%s\\"
- "g_blueteam\\%s\\c1\\%s\\hc\\%i\\w\\%i\\l\\%i\\tt\\%d\\tl\\%d",
- "precache", i, 0, buffer, buffer, 0, 0, "7", 100, 0, 0, 0, 0);
-
- trap_SetConfigstring( CS_PRECACHES + i, s );
- }
-
-}
-
-
void G_RemapTeamShaders( )
{
}
@@ -501,7 +476,6 @@ void G_InitGame( int levelTime, int randomSeed, int restart )
G_FindTeams( );
//TA:
- G_RegisterPlayerModels( );
G_InitDamageLocations( );
G_Printf( "-----------------------------------\n" );