From bfd82ca747c293b9320efe89d85ef5ce8a80022f Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Tue, 8 Jul 2025 05:53:46 +0200 Subject: [PATCH] player: moved when scroll to center is called This makes the camera behave a bit nicer. It still kinda looks a bit off when moving a lot. --- src/player.s | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/player.s b/src/player.s index e93d821..f695c6b 100644 --- a/src/player.s +++ b/src/player.s @@ -31,12 +31,13 @@ unit_player_update: pop de push de - call unit_handle_inputs + call unit_scroll_center pop de - + push de - call unit_scroll_center + call unit_handle_inputs pop de + ret -- 2.30.2