diff options
| author | nathan <nathansmith@disroot.org> | 2025-11-24 12:59:01 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-11-24 12:59:01 +0000 |
| commit | 6db246171bcc0a7472624b2bf6c74898c43b9248 (patch) | |
| tree | 76a152bd23b48e56b2acfdeae7953be870c7a7e9 /src/player.c | |
| parent | 9d363e00bc33df2821e008d03794675c09c413ec (diff) | |
| download | FindThings-6db246171bcc0a7472624b2bf6c74898c43b9248.tar.gz FindThings-6db246171bcc0a7472624b2bf6c74898c43b9248.tar.bz2 FindThings-6db246171bcc0a7472624b2bf6c74898c43b9248.zip | |
Working map preview
Diffstat (limited to 'src/player.c')
| -rw-r--r-- | src/player.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |
