home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e3e845
)
Corrected mixed up coordinates.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 16 May 2013 00:29:01 +0000
(
02:29
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 16 May 2013 00:29:01 +0000
(
02:29
+0200)
roguelike.c
patch
|
blob
|
history
diff --git
a/roguelike.c
b/roguelike.c
index 9fb9d31142d69a292ea5175603bfd2d0cc3e8dbc..fc5ce007be5e4865e7b79915f52f050c66602c9c 100644
(file)
--- 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)