summaryrefslogtreecommitdiff
path: root/src/voxel.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-25 09:53:21 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-25 09:53:21 +0200
commitd3a6a12baea7317f6765ae7541cbc453f83d7928 (patch)
tree3d81655e70479a83aa7315acc586feeba8180bb0 /src/voxel.cpp
parentde3fdba568cf0b05e8fe0ec7fb11552416474093 (diff)
downloadminetest-d3a6a12baea7317f6765ae7541cbc453f83d7928.tar.gz
minetest-d3a6a12baea7317f6765ae7541cbc453f83d7928.tar.bz2
minetest-d3a6a12baea7317f6765ae7541cbc453f83d7928.zip
removed alternative name "pressure" from param2
Diffstat (limited to 'src/voxel.cpp')
-rw-r--r--src/voxel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voxel.cpp b/src/voxel.cpp
index a0cc44d71..272e11ccc 100644
--- a/src/voxel.cpp
+++ b/src/voxel.cpp
@@ -96,7 +96,7 @@ void VoxelManipulator::print(std::ostream &o, VoxelPrintMode mode)
{
c = 'X';
u8 m = m_data[m_area.index(x,y,z)].d;
- u8 pr = m_data[m_area.index(x,y,z)].pressure;
+ u8 pr = m_data[m_area.index(x,y,z)].param2;
if(mode == VOXELPRINT_MATERIAL)
{
if(m <= 9)