mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-06 16:36:32 +02:00
fix debug thing breaking pressure display in HUD, fixes #494
This commit is contained in:
@@ -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];
|
||||||
|
Reference in New Issue
Block a user