mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
fix jitter
This commit is contained in:
parent
a249404063
commit
8bef214797
|
@ -1966,6 +1966,8 @@ impl<'a> Game<'a> {
|
||||||
self.shake_time -= 1;
|
self.shake_time -= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let this_frame_offset = this_frame_offset.floor().into();
|
||||||
|
|
||||||
self.input.update();
|
self.input.update();
|
||||||
if let UpdateInstruction::CreateParticle(data, position) =
|
if let UpdateInstruction::CreateParticle(data, position) =
|
||||||
self.player
|
self.player
|
||||||
|
|
Loading…
Reference in a new issue