X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fmapsector.cpp;h=3fe81dc902e13c943b9af7e990ff5e082d4cd75f;hb=868a1a5c13a0c086aa1ff3414a1eb12076821c27;hp=0d40a659d4003e558b493bdec2606b4736a14072;hpb=4e1f50035e860a00636ca5d804c267119df99601;p=dragonfireclient.git diff --git a/src/mapsector.cpp b/src/mapsector.cpp index 0d40a659d..3fe81dc90 100644 --- a/src/mapsector.cpp +++ b/src/mapsector.cpp @@ -85,7 +85,7 @@ MapBlock * MapSector::getBlockNoCreateNoEx(s16 y) MapBlock * MapSector::createBlankBlockNoInsert(s16 y) { - assert(getBlockBuffered(y) == NULL); + assert(getBlockBuffered(y) == NULL); // Pre-condition v3s16 blockpos_map(m_pos.X, y, m_pos.Y); @@ -133,7 +133,7 @@ void MapSector::deleteBlock(MapBlock *block) delete block; } -void MapSector::getBlocks(std::list &dest) +void MapSector::getBlocks(MapBlockVect &dest) { for(std::map::iterator bi = m_blocks.begin(); bi != m_blocks.end(); ++bi)