X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=roguelike.c;h=fc5ce007be5e4865e7b79915f52f050c66602c9c;hb=849f93dcd5195f5237bdf8324bfbac2fbf2d611c;hp=9fb9d31142d69a292ea5175603bfd2d0cc3e8dbc;hpb=9e3e8456a3a835d786566de40f17c3ffcde4e929;p=plomrogue 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)