From 849f93dcd5195f5237bdf8324bfbac2fbf2d611c Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 16 May 2013 02:29:01 +0200
Subject: [PATCH] Corrected mixed up coordinates.

---
 roguelike.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roguelike.c b/roguelike.c
index 9fb9d31..fc5ce00 100644
--- a/roguelike.c
+++ b/roguelike.c
@@ -317,7 +317,7 @@ char * get_keyname(int keycode) {
     sprintf(keyname, "(unknown)");
   return keyname;  }
 
-char is_passable (struct World * world, int y, int x) {
+char is_passable (struct World * world, int x, int y) {
 // Check if coordinate on (or beyond) map is accessible to movement.
   char passable = 0;
   if (0 <= x && x < world->map->width && 0 <= y && y < world->map->height)
-- 
2.30.2