summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-12-10 16:30:26 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-12-18 14:04:47 (GMT)
commit2015499ff1f61d59e38e7943248d46cc2b16bc41 (patch)
tree215baaf62d582b31799088472636d89f337deee0 /src/graphics.c
parentc819e2655e41363d0d416d478abe2804d40c1a95 (diff)
downloadpowder-2015499ff1f61d59e38e7943248d46cc2b16bc41.zip
powder-2015499ff1f61d59e38e7943248d46cc2b16bc41.tar.gz
Fix grav wall
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 62475fc..55dd053 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1427,7 +1427,7 @@ void draw_grav_zones(pixel * vid)
{
for (x=0; x<XRES/CELL; x++)
{
- if(gravmask[y][x])
+ if(gravmaskf[y*CELL*XRES+x*CELL])
{
for (j=0; j<CELL; j++)//draws the colors
for (i=0; i<CELL; i++)