diff --git a/src/air.c b/src/air.c index 8a3f915d1..1b83665b3 100644 --- a/src/air.c +++ b/src/air.c @@ -25,6 +25,7 @@ float *th_gravxf; float vx[YRES/CELL][XRES/CELL], ovx[YRES/CELL][XRES/CELL]; float vy[YRES/CELL][XRES/CELL], ovy[YRES/CELL][XRES/CELL]; float pv[YRES/CELL][XRES/CELL], opv[YRES/CELL][XRES/CELL]; +unsigned char bmap_blockair[YRES/CELL][XRES/CELL]; float cb_vx[YRES/CELL][XRES/CELL]; float cb_vy[YRES/CELL][XRES/CELL]; @@ -215,6 +216,11 @@ void update_air(void) int x, y, i, j; float dp, dx, dy, f, tx, ty; + for (y=0; y0 && y+j0 && x+i