diff --git a/src/simulation/Air.cpp b/src/simulation/Air.cpp index 3c88e91bb..ff61bac45 100644 --- a/src/simulation/Air.cpp +++ b/src/simulation/Air.cpp @@ -39,7 +39,12 @@ void Air::make_kernel(void) //used for velocity void Air::update_airh(void) { int x, y, i, j; - float dh, dx, dy, f, tx, ty; + float odh, dh, dx, dy, f, tx, ty; + for (y=0; y0 && y+j0 && x+i=2 && i=2 && j