commented out old water stuff
authorPerttu Ahola <celeron55@gmail.com>
Mon, 24 Jan 2011 11:42:13 +0000 (13:42 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 24 Jan 2011 11:42:13 +0000 (13:42 +0200)
src/voxel.cpp
src/voxel.h

index 7ba4e21c6ef0d2dd8fdc78978c70e0d8245a56b8..c045c949ccfeebf95ab397f063916697152c4612 100644 (file)
@@ -264,6 +264,7 @@ void VoxelManipulator::clearFlag(u8 flags)
                        <<volume<<" nodes"<<std::endl;*/
 }
 
+#if 0
 int VoxelManipulator::getWaterPressure(v3s16 p, s16 &highest_y, int recur_count)
 {
        m_flags[m_area.index(p)] |= VOXELFLAG_CHECKED2;
@@ -894,6 +895,6 @@ void VoxelManipulator::flowWater(
                        <<", updateareawaterpressure_time: "<<updateareawaterpressure_time
                        <<std::endl;*/
 }
-
+#endif
 
 //END
index ed7fba089e51837155750639532b978fdbab1597..c377dfe7a54cc57e6ff8787f10b0138432f05ece 100644 (file)
@@ -396,7 +396,8 @@ public:
        */
 
        void clearFlag(u8 flag);
-       
+
+#if 0
        // VOXELFLAG_CHECKED2s must usually be cleared before calling
        // -1: dead end, 0-255: pressure
        // highest_y: Highest found water y is stored here.
@@ -450,6 +451,7 @@ public:
                        bool debugprint=false,
                        u32 timelimit=50
        );
+#endif
 
        /*
                Virtual functions