Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Hotfix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacusch committed Mar 10, 2023
1 parent fd31ec8 commit 7433480
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: slaszlo- <slaszlo-@student.42heibronn.d +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/02 02:35:54 by segarcia #+# #+# */
/* Updated: 2023/03/10 19:46:52 by slaszlo- ### ########.fr */
/* Updated: 2023/03/10 19:47:22 by slaszlo- ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -84,8 +84,6 @@ t_map get_space(char **matrix)
bool check_position(t_player *player, t_map *map)
{
(void)map;
printf("map x is %i map y is %i\n", player->x, player->x);

if (player->x == 0 || player->y == 0 || \
player->x + 1 == map->width || player->y + 1 == map->height)
return (true);
Expand Down

0 comments on commit 7433480

Please sign in to comment.