plrmodes/reimu_b: fix -Wmaybe-uninitialized

This commit is contained in:
Andrei Alexeyev 2023-03-12 17:20:25 +01:00
parent 7bf8e84fd6
commit c10cab4776
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -348,7 +348,7 @@ static void reimu_dream_bullet_warp(ReimuBController *ctrl, Projectile *p, int *
continue;
}
Rect gap_bbox, overlap;
Rect gap_bbox, overlap = { };
cmplx gap_size = (GAP_LENGTH + I * GAP_WIDTH) * gap->parallel_axis;
cmplx p0 = gap->pos - gap_size * 0.5;
cmplx p1 = gap->pos + gap_size * 0.5;