summaryrefslogtreecommitdiff
path: root/src/game/g_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_misc.c')
-rw-r--r--src/game/g_misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_misc.c b/src/game/g_misc.c
index 0572684d..861fc642 100644
--- a/src/game/g_misc.c
+++ b/src/game/g_misc.c
@@ -88,6 +88,9 @@ void TeleportPlayer( gentity_t *player, vec3_t origin, vec3_t angles )
player->client->ps.eFlags ^= EF_TELEPORT_BIT;
G_UnlaggedClear( player );
+ // cut all relevant zap beams
+ G_ClearPlayerZapEffects( player );
+
// set angles
G_SetClientViewAngle( player, angles );