Skip to content

Commit

Permalink
Norm ok
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkosComK committed Sep 13, 2024
1 parent 11dc43c commit cb02bbd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sources/handle_keys.c → sources/main/handle_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/* */
/* ************************************************************************** */

#include "../includes/so_long.h"
#include "../../includes/so_long.h"

void wall_check(t_game *game, t_pos *pos, int dx, int dy);

Expand All @@ -35,7 +35,7 @@ int key_press(int keycode, t_game *g)
{
wall_check(g, pos, 1, 0);
}
if (keycode == XK_Escape || keycode == XK_q || keycode == XK_Terminate_Server)
if (keycode == XK_Escape || keycode == XK_q)
quit(g);
return (1);
}
Expand Down
2 changes: 1 addition & 1 deletion sources/so_long.c → sources/main/so_long.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/* */
/* ************************************************************************** */

#include "../includes/so_long.h"
#include "../../includes/so_long.h"

int main(int ac, char **av)
{
Expand Down
2 changes: 1 addition & 1 deletion sources/start_game.c → sources/main/start_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/* */
/* ************************************************************************** */

#include "../includes/so_long.h"
#include "../../includes/so_long.h"

int game_loop_hook(t_game *game)
{
Expand Down
2 changes: 1 addition & 1 deletion sources/start_map.c → sources/main/start_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/* */
/* ************************************************************************** */

#include "../includes/so_long.h"
#include "../../includes/so_long.h"

void set_map_tiles(t_game *game)
{
Expand Down

0 comments on commit cb02bbd

Please sign in to comment.