From 280552fa4750b5dac9243782f9c0a7e0b7eea6f8 Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 5 May 2023 09:25:39 +1000 Subject: Add a basic enemy. --- player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player.c') diff --git a/player.c b/player.c index cadb0dc..b723849 100644 --- a/player.c +++ b/player.c @@ -26,8 +26,8 @@ void init_player(Player* player, World* world) { sprite = &world->sprites[e]; animated = &world->animateds[e]; - pos->x = 32; - pos->y = 70; + pos->x = 32 << fbits; + pos->y = 70 << fbits; sprite->id = asset_id_char; sprite->rect = make_rect(0, 16, 16, 16); -- cgit v1.2.3-54-g00ecf