summaryrefslogtreecommitdiff
path: root/src/wall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wall.c')
-rw-r--r--src/wall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wall.c b/src/wall.c
index bc0a26d..cc2efe4 100644
--- a/src/wall.c
+++ b/src/wall.c
@@ -33,7 +33,7 @@ void drawWall(wall_t *p)
{
assert( p != NULL );
- addLayer(p->img, p->x, p->y, 0, 0, p->img->w, p->img->h, p->layer);
+ addLayer(p->img, p->img_x, p->img_y, 0, 0, p->img->w, p->img->h, p->layer);
}
void drawListWall(list_t *listWall)