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, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index 2401d04e..e646d28c 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -795,7 +795,7 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
case EV_TESLATRAIL:
cent->currentState.weapon = WP_TESLAGEN;
{
- centity_t *source = &cg_entities[ es->generic1 ];
+ centity_t *source = &cg_entities[ es->misc ];
centity_t *target = &cg_entities[ es->clientNum ];
vec3_t sourceOffset = { 0.0f, 0.0f, 28.0f };