fix debug thing breaking pressure display in HUD, fixes #494

This commit is contained in:
jacob1 2017-08-03 23:12:03 -04:00
parent 6931f35520
commit 26f70331de

View File

@ -540,7 +540,7 @@ SimulationSample Simulation::GetSample(int x, int y)
{ {
sample.WallType = bmap[y/CELL][x/CELL]; 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.AirTemperature = hv[y/CELL][x/CELL];
sample.AirVelocityX = vx[y/CELL][x/CELL]; sample.AirVelocityX = vx[y/CELL][x/CELL];
sample.AirVelocityY = vy[y/CELL][x/CELL]; sample.AirVelocityY = vy[y/CELL][x/CELL];