summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-12 13:16:31 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-12 13:16:31 +0200
commitf9864b4a94e14f3609de7e268a8dd511f7663ebc (patch)
treea0ea7e1792d7acda75b4ebd7b9145aa15ade2d32 /src
parentb28f9bc860d2a8a0351e6f866e1b2de2a84cf436 (diff)
map work
Diffstat (limited to 'src')
-rw-r--r--src/editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor.c b/src/editor.c
index 4c005f8..050d762 100644
--- a/src/editor.c
+++ b/src/editor.c
@@ -41,6 +41,7 @@ static void update_tile_editor(platform_window* window) {
if (is_left_down()) {
map_to_load.tiles[pos.y][pos.x] = tile_to_place;
load_mapdata_into_world();
+ printf("%d %d\n", pos.x, pos.y);
}
break;