# HG changeset patch # User John Tsiombikas # Date 1423175644 -7200 # Node ID d46f0947a96deedbadf2aad40bc8dea8617e5b55 # Parent 8ba79034e8a6a98a867c763c496ce3b7b36f441e added helpful comment diff -r 8ba79034e8a6 -r d46f0947a96d src/level.c --- a/src/level.c Thu Jan 15 14:59:38 2015 +0200 +++ b/src/level.c Fri Feb 06 00:34:04 2015 +0200 @@ -149,6 +149,7 @@ return 0; } +/* NOTE: this function could be simpler */ int level_collide(struct level *lvl, float rad, float x, float y, float *dxp, float *dyp) { int i, val, cxy[2], collided = 0;