From 6db246171bcc0a7472624b2bf6c74898c43b9248 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 24 Nov 2025 05:59:01 -0700 Subject: Working map preview --- src/player.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/player.c') diff --git a/src/player.c b/src/player.c index 9a08204..2d9ec62 100644 --- a/src/player.c +++ b/src/player.c @@ -130,7 +130,10 @@ void updatePlayer(Player* player, Game* game) .direction = player->direction }; - DrawRay(ray, YELLOW); + if (game->isCrossHairEnabled) + { + DrawRay(ray, YELLOW); + } WorldUID uid = castRayAtWorld(&game->world, ray, false, NULL); -- cgit v1.2.3