diff options
author | Tim Angus <tim@ngus.net> | 2005-11-25 16:21:10 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-11-25 16:21:10 +0000 |
commit | 3460e8bf9381c61e1bef98b78d320a8bd52b7f5f (patch) | |
tree | 4e9fd1150b31476e22078364a7782c8327f4efb8 /src/game | |
parent | 63f0272dd145b10c349163ba465fcbcf5ac48e0d (diff) |
* Removal of remaining hard coded effects
* Removal of local entities system
* Particle system enhancements to replace functionality lost by removing localents
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_client.c | 8 | ||||
-rw-r--r-- | src/game/g_misc.c | 13 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index d8fb60a9..e86439c4 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1178,7 +1178,6 @@ void ClientBegin( int clientNum ) { gentity_t *ent; gclient_t *client; - gentity_t *tent; int flags; ent = g_entities + clientNum; @@ -1210,13 +1209,6 @@ void ClientBegin( int clientNum ) ClientSpawn( ent, NULL, NULL, NULL ); - if( client->sess.sessionTeam != TEAM_SPECTATOR ) - { - // send event - tent = G_TempEntity( ent->client->ps.origin, EV_PLAYER_TELEPORT_IN ); - tent->s.clientNum = ent->s.clientNum; - } - G_InitCommandQueue( clientNum ); G_SendCommandFromServer( -1, va( "print \"%s" S_COLOR_WHITE " entered the game\n\"", client->pers.netname ) ); diff --git a/src/game/g_misc.c b/src/game/g_misc.c index b7172ea3..4bcb387f 100644 --- a/src/game/g_misc.c +++ b/src/game/g_misc.c @@ -66,19 +66,6 @@ TELEPORTERS void TeleportPlayer( gentity_t *player, vec3_t origin, vec3_t angles ) { - gentity_t *tent; - - // use temp events at source and destination to prevent the effect - // from getting dropped by a second player event - if( player->client->sess.sessionTeam != TEAM_SPECTATOR ) - { - tent = G_TempEntity( player->client->ps.origin, EV_PLAYER_TELEPORT_OUT ); - tent->s.clientNum = player->s.clientNum; - - tent = G_TempEntity( origin, EV_PLAYER_TELEPORT_IN ); - tent->s.clientNum = player->s.clientNum; - } - // unlink to make sure it can't possibly interfere with G_KillBox trap_UnlinkEntity( player ); |