aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dc.c b/src/dc.c
index 87e6480..21eab23 100644
--- a/src/dc.c
+++ b/src/dc.c
@@ -724,7 +724,7 @@ int is_slot_early(event *ev, int flasher_pmt_id)
if (i/32 == flasher_pmt_id/32) {
/* This hit is in the same slot as the potential flasher. */
- t_slot[n_slot++] += ev->pmt_hits[i].ept;
+ t_slot[n_slot++] = ev->pmt_hits[i].ept;
continue;
}
@@ -742,7 +742,7 @@ int is_slot_early(event *ev, int flasher_pmt_id)
distance = NORM(pmt_dir);
if (distance < 400.0) {
- t_nearby[n_nearby++] += ev->pmt_hits[i].ept;
+ t_nearby[n_nearby++] = ev->pmt_hits[i].ept;
continue;
}
}