mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Attempted to prevent extraneous moves.
This commit is contained in:
parent
b5357860b9
commit
09309aa74f
@ -726,6 +726,7 @@ void TIA::draw_player(Player &player, CollisionType collision_identity, const in
|
|||||||
{
|
{
|
||||||
movement_time -= first_pixel_cycle - 4;
|
movement_time -= first_pixel_cycle - 4;
|
||||||
draw_player_visible(player, collision_identity, position_identity, start - first_pixel_cycle + 4, std::min(end - first_pixel_cycle + 4, 160), movement_time);
|
draw_player_visible(player, collision_identity, position_identity, start - first_pixel_cycle + 4, std::min(end - first_pixel_cycle + 4, 160), movement_time);
|
||||||
|
movement_time += first_pixel_cycle - 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// move further if required
|
// move further if required
|
||||||
|
Loading…
Reference in New Issue
Block a user