diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-05-14 07:42:20 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:32:00 +0200 |
commit | 695d02e6bda939f7b00af402273b39a8fd75a203 (patch) | |
tree | 30e075240af7397fd933852e20f812417bb93b45 /src/reflowscan.cpp | |
parent | e2815d27f16f20c503c34b9a0ab4f917dcab639b (diff) | |
download | minetest-695d02e6bda939f7b00af402273b39a8fd75a203.tar.gz minetest-695d02e6bda939f7b00af402273b39a8fd75a203.tar.bz2 minetest-695d02e6bda939f7b00af402273b39a8fd75a203.zip |
More C++03 fixes
Diffstat (limited to 'src/reflowscan.cpp')
-rw-r--r-- | src/reflowscan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflowscan.cpp b/src/reflowscan.cpp index eec371022..ba7898d52 100644 --- a/src/reflowscan.cpp +++ b/src/reflowscan.cpp @@ -28,7 +28,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(nullptr) + m_liquid_queue(NULL) { } @@ -42,7 +42,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 nullptr. + // were already fetched from Map but were actually NULL. memset(m_lookup, 0, sizeof(m_lookup)); int block_idx = 1 + (1 * 9) + (1 * 3); m_lookup[block_idx] = block; |