summaryrefslogtreecommitdiff
path: root/src/game/g_misc.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-11-25 16:21:10 +0000
committerTim Angus <tim@ngus.net>2005-11-25 16:21:10 +0000
commit3460e8bf9381c61e1bef98b78d320a8bd52b7f5f (patch)
tree4e9fd1150b31476e22078364a7782c8327f4efb8 /src/game/g_misc.c
parent63f0272dd145b10c349163ba465fcbcf5ac48e0d (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/g_misc.c')
-rw-r--r--src/game/g_misc.c13
1 files changed, 0 insertions, 13 deletions
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 );