summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kdtree.c2
-rw-r--r--src/tiledmap.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/kdtree.c b/src/kdtree.c
index 551bc5c..cfa5866 100644
--- a/src/kdtree.c
+++ b/src/kdtree.c
@@ -17,7 +17,7 @@ kdtree_t * kdtree_create(int x, int y, char * value) {
kdtree_t * kdtree_insert_rec(kdtree_t **root, int x, int y, char * value, int depth) {
if ((*root) == NULL)
return *root = kdtree_create(x, y, value);
-
+
int e = x < (*root)->x;
if (depth % 2 == 1) e = y < (*root)->y;
diff --git a/src/tiledmap.c b/src/tiledmap.c
index bb5a1fd..a567ce3 100644
--- a/src/tiledmap.c
+++ b/src/tiledmap.c
@@ -1,6 +1,5 @@
#include <raylib.h>
#include <stdlib.h>
-#include <stdio.h>
#include <unistd.h>
#include "tiledmap.h"