From 879bb468298cac4d886c13faf0876459ba53a377 Mon Sep 17 00:00:00 2001 From: Bryce Hutchings Date: Sat, 16 Mar 2002 08:46:32 +0000 Subject: [PATCH] spectator going through doors no longer reset viewangle --- reaction/game/g_misc.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reaction/game/g_misc.c b/reaction/game/g_misc.c index 513266f3..31697290 100644 --- a/reaction/game/g_misc.c +++ b/reaction/game/g_misc.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.23 2002/03/16 08:46:32 niceass +// spectator going through doors no longer reset viewangle +// // Revision 1.22 2002/03/02 12:24:30 jbravo // Removed some debugging messages // @@ -162,8 +165,8 @@ void TeleportPlayer( gentity_t *player, vec3_t origin, vec3_t angles ) { player->client->ps.origin[2] += 1; // spit the player out - AngleVectors( angles, player->client->ps.velocity, NULL, NULL ); - VectorScale( player->client->ps.velocity, 400, player->client->ps.velocity ); + // AngleVectors( angles, player->client->ps.velocity, NULL, NULL ); + // VectorScale( player->client->ps.velocity, 400, player->client->ps.velocity ); player->client->ps.pm_time = 160; // hold time player->client->ps.pm_flags |= PMF_TIME_KNOCKBACK; @@ -171,7 +174,7 @@ void TeleportPlayer( gentity_t *player, vec3_t origin, vec3_t angles ) { player->client->ps.eFlags ^= EF_TELEPORT_BIT; // set angles - SetClientViewAngle( player, angles ); + // SetClientViewAngle( player, angles ); // kill anything at the destination if ( player->client->sess.sessionTeam != TEAM_SPECTATOR ) {