diff options
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r-- | src/game/g_client.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index 42e1f9b4..6aa6b855 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -661,14 +661,7 @@ void SpawnCorpse( gentity_t *ent ) { break; } - //body->die = body_die; - - // don't take more damage if already gibbed - if ( ent->health <= GIB_HEALTH ) { - body->takedamage = qfalse; - } else { - body->takedamage = qtrue; - } + body->takedamage = qfalse; //make the make player entity disappear ent->takedamage = qfalse; @@ -1358,6 +1351,9 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn ) { ent->watertype = 0; ent->flags = 0; + //TA: calculate each client's acceleration + ent->evaluateAcceleration = qtrue; + client->ps.stats[ STAT_WEAPONS ] = 0; client->ps.stats[ STAT_WEAPONS2 ] = 0; client->ps.stats[ STAT_SLOTS ] = 0; |