summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
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++)