diff options
-rw-r--r-- | src/dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |