fix for warnings & detecting opensource nouveau drivers.
[blender-staging.git] / intern / elbeem / intern / solver_init.cpp
index fee011a70aec6caf290159177975753170a3495d..3d61697bbc699ed852c04b8050faea57597d83c7 100644 (file)
@@ -1001,7 +1001,7 @@ bool LbmFsgrSolver::initializeSolverMemory()
        preinitGrids();
        for(int lev=0; lev<=mMaxRefine; lev++) {
                FSGR_FORIJK_BOUNDS(lev) {
-                       RFLAG(lev,i,j,k,0) = RFLAG(lev,i,j,k,0) = 0; // reset for changeFlag usage
+                       RFLAG(lev,i,j,k,0) = 0, RFLAG(lev,i,j,k,0) = 0; // reset for changeFlag usage
                        if(!mAllfluid) {
                                initEmptyCell(lev, i,j,k, CFEmpty, -1.0, -1.0); 
                        } else {