Skip to content

Commit

Permalink
fix ambient heat being reset when creating saves
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed May 7, 2017
1 parent e1d8e81 commit abf6050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/simulation/Simulation.cpp
Expand Up @@ -305,6 +305,7 @@ GameSave * Simulation::Save(int fullX, int fullY, int fullX2, int fullY2)
newSave->velocityX[saveBlockY][saveBlockX] = vx[saveBlockY+blockY][saveBlockX+blockX];
newSave->velocityY[saveBlockY][saveBlockX] = vy[saveBlockY+blockY][saveBlockX+blockX];
newSave->ambientHeat[saveBlockY][saveBlockX] = hv[saveBlockY+blockY][saveBlockX+blockX];
newSave->hasAmbientHeat = true;
}
}

Expand Down

0 comments on commit abf6050

Please sign in to comment.