aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/g_client.c
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2010-02-02 12:17:33 -0500
committerbryan newbold <bnewbold@robocracy.org>2010-02-02 12:17:33 -0500
commit8703d4e9325c896c0b489c63f96d42d8d79a31e3 (patch)
treebab3db64461f60bcd8693cd9a15ebae9b416c3f2 /code/game/g_client.c
parent3a9cccd9785c394466594c857016d55dfdde560f (diff)
downloadioquake3-aero-8703d4e9325c896c0b489c63f96d42d8d79a31e3.tar.gz
ioquake3-aero-8703d4e9325c896c0b489c63f96d42d8d79a31e3.zip
AERO patch applied; this represents our progress at the end of GGJ
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" );
}