aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/game/g_client.c')
-rw-r--r--code/game/g_client.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/code/game/g_client.c b/code/game/g_client.c
index 7160e31..c0b500f 100644
--- a/code/game/g_client.c
+++ b/code/game/g_client.c
@@ -497,14 +497,16 @@ respawn
================
*/
void respawn( gentity_t *ent ) {
- gentity_t *tent;
+ //gentity_t *tent;
+
+ // -bnewbold
CopyToBodyQue (ent);
ClientSpawn(ent);
- // add a teleportation effect
- tent = G_TempEntity( ent->client->ps.origin, EV_PLAYER_TELEPORT_IN );
- tent->s.clientNum = ent->s.clientNum;
+ // add a teleportation effect // disabled -bnewbold
+ //tent = G_TempEntity( ent->client->ps.origin, EV_PLAYER_TELEPORT_IN );
+ //tent->s.clientNum = ent->s.clientNum;
}
/*
@@ -1241,6 +1243,9 @@ void ClientSpawn(gentity_t *ent) {
// clear entity state values
BG_PlayerStateToEntityState( &client->ps, &ent->s, qtrue );
+
+ // Get going! -bnewbold
+ trap_SendConsoleCommand( EXEC_APPEND, "+forward\n" );
}