fix debug thing breaking pressure display in HUD, fixes #494
This commit is contained in:
parent
6931f35520
commit
26f70331de
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user