summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 4a4a4e7..76b8e22 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -140,6 +140,9 @@ mf_char_collision(struct mf_char *c1, struct mf_char *c2, int handle)
c1->collide(c1);
c2->collide(c2);
}
+ SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
+ "Collision: (%d,%d) x (%d,%d)",
+ c1->cur_x, c1->cur_y, c2->cur_x, c2->cur_y);
return 1;
}