1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-07-14 16:55:52 +00:00

fix booster anp

This commit is contained in:
Alula 2021-03-23 15:06:39 +01:00
parent 6c74b5517c
commit af7d7ae744
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -51,6 +51,9 @@ impl NPC {
self.hit_bounds.bottom = 16 * 0x200;
self.x -= 16 * 0x200;
self.y += 8 * 0x200;
// interpolation glitch fix
self.prev_x = self.x;
self.prev_y = self.y;
}
self.action_counter += 1;