]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/reflowscan.cpp
Conf.example: Update using auto-generation
[dragonfireclient.git] / src / reflowscan.cpp
index 49b9406d73e1521398e13e9ac0679f64e8464c7c..fd169f1a833964b8e856959932adc686c8b52e6a 100644 (file)
@@ -26,8 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 ReflowScan::ReflowScan(Map *map, INodeDefManager *ndef) :
        m_map(map),
-       m_ndef(ndef),
-       m_liquid_queue(NULL)
+       m_ndef(ndef)
 {
 }
 
@@ -41,7 +40,7 @@ void ReflowScan::scan(MapBlock *block, UniqueQueue<v3s16> *liquid_queue)
        // scanned block. Blocks are only added to the lookup if they are really
        // needed. The lookup is indexed manually to use the same index in a
        // bit-array (of uint32 type) which stores for unloaded blocks that they
-       // were already fetched from Map but were actually NULL.
+       // were already fetched from Map but were actually nullptr.
        memset(m_lookup, 0, sizeof(m_lookup));
        int block_idx = 1 + (1 * 9) + (1 * 3);
        m_lookup[block_idx] = block;