Skip to content

Commit

Permalink
lasers: fix time values written by quantize_laser()
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaricchi committed Apr 11, 2024
1 parent 1b95645 commit 94e4d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lasers/laser.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static int quantize_laser(Laser *l) {
LaserSegment *seg = dynarray_append(&lintern.segments, {
.pos = { a, b },
.width = { w0, w },
.time = { -t0, -t },
.time = { sp.time_shift - t0, sp.time_shift - t },
});

if(w < w0) {
Expand Down

0 comments on commit 94e4d04

Please sign in to comment.