diff options
-rw-r--r-- | House.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -405,7 +405,7 @@ void House::calcneededenergy() { float x=0; calcdiff(); for (int i=0; i<12; ++i) { - for (int j=0; j<24; ++i) { + for (int j=0; j<24; ++j) { if (tempdifference>0) { switch (i) { case 0: x+= tempdifference[i][j]*31; break; |