Skip to content

Commit

Permalink
fix undoing changes in gravity mask
Browse files Browse the repository at this point in the history
  • Loading branch information
n1kolasM authored and jacob1 committed Feb 13, 2018
1 parent 257fe6f commit 30b8078
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/simulation/Simulation.cpp
Expand Up @@ -485,6 +485,7 @@ void Simulation::Restore(const Snapshot & snap)
std::copy(snap.GravValue.begin(), snap.GravValue.end(), gravp);
std::copy(snap.GravMap.begin(), snap.GravMap.end(), gravmap);
}
gravWallChanged = true;
std::copy(snap.BlockMap.begin(), snap.BlockMap.end(), &bmap[0][0]);
std::copy(snap.ElecMap.begin(), snap.ElecMap.end(), &emap[0][0]);
std::copy(snap.FanVelocityX.begin(), snap.FanVelocityX.end(), &fvx[0][0]);
Expand Down

0 comments on commit 30b8078

Please sign in to comment.