Skip to content

Commit

Permalink
fix debug thing breaking pressure display in HUD, fixes #494
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Aug 4, 2017
1 parent 6931f35 commit 26f7033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/Simulation.cpp
Expand Up @@ -540,7 +540,7 @@ SimulationSample Simulation::GetSample(int x, int y)
{
sample.WallType = bmap[y/CELL][x/CELL];
}
sample.AirPressure = (int)air->bmap_blockair[y/CELL][x/CELL];
sample.AirPressure = pv[y/CELL][x/CELL];
sample.AirTemperature = hv[y/CELL][x/CELL];
sample.AirVelocityX = vx[y/CELL][x/CELL];
sample.AirVelocityY = vy[y/CELL][x/CELL];
Expand Down

0 comments on commit 26f7033

Please sign in to comment.