]> git.lizzy.rs Git - minetest.git/blobdiff - src/mapsector.h
Fix mapgen using unitialised height map values
[minetest.git] / src / mapsector.h
index 4f2b3f31feb35acf3a555f51ba3168ded618d52b..e89247a92e0d1784d4817307385cc35910de5e5f 100644 (file)
@@ -20,14 +20,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef MAPSECTOR_HEADER
 #define MAPSECTOR_HEADER
 
-#include <jmutex.h>
-#include "irrlichttypes_bloated.h"
-#include "exceptions.h"
+#include "irrlichttypes.h"
+#include "irr_v2d.h"
+#include "mapblock.h"
 #include <ostream>
 #include <map>
-#include <list>
+#include <vector>
 
-class MapBlock;
 class Map;
 class IGameDef;
 
@@ -62,7 +61,7 @@ class MapSector
        
        void deleteBlock(MapBlock *block);
        
-       void getBlocks(std::list<MapBlock*> &dest);
+       void getBlocks(MapBlockVect &dest);
        
        // Always false at the moment, because sector contains no metadata.
        bool differs_from_disk;