diff --git a/dod.c b/dod.c index 83d41b9..5d74a2f 100644 --- a/dod.c +++ b/dod.c @@ -184,9 +184,10 @@ void zero_velocity(Velocity *velocity, XOR256State *state) { } void update_positions(u8 *tags, Rect *rects, Velocity *velocities, u64 count, f32 delta) { - u8 index = 0; - f32 multipliers[2] = {1.0f, 0.5f}; + persistent f32 multipliers[2] = {1.0f, 0.5f}; persistent u64 inside_zone_mask = 0x7; + + u8 index = 0; f32 pos_x, pos_y; f32 max_x, max_y;