summaryrefslogtreecommitdiff
path: root/src/cgame/cg_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r--src/cgame/cg_event.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index 9273922f..dfafc18e 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -744,7 +744,6 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
centity_t *source = &cg_entities[ es->generic1 ];
centity_t *target = &cg_entities[ es->clientNum ];
vec3_t sourceOffset = { 0.0f, 0.0f, 28.0f };
- vec3_t targetOffset = { 0.0f, 0.0f, -2.0f };
if( !CG_IsTrailSystemValid( &source->muzzleTS ) )
{
@@ -757,7 +756,6 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
CG_AttachToCent( &source->muzzleTS->frontAttachment );
CG_AttachToCent( &source->muzzleTS->backAttachment );
CG_SetAttachmentOffset( &source->muzzleTS->frontAttachment, sourceOffset );
- CG_SetAttachmentOffset( &source->muzzleTS->backAttachment, targetOffset );
source->muzzleTSDeathTime = cg.time + cg_teslaTrailTime.integer;
}