diff options
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); |
