diff options
| author | adrido <robots_only_adrido@gmx.com> | 2017-12-10 09:07:24 +0100 |
|---|---|---|
| committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-12-10 09:07:24 +0100 |
| commit | d677f292cc9fcb61078cb258761049c1fa4a424b (patch) | |
| tree | 19a4c4aaa5252c7e5fc95b13fe2bc7cc00225bbc /src/mapgen/mapgen.h | |
| parent | da298a26ff3a412dda0caadddbfa4a92276daea3 (diff) | |
| download | dragonfireclient-d677f292cc9fcb61078cb258761049c1fa4a424b.tar.xz | |
Use std::vector instead of dynamic C-Array (#6744)
Diffstat (limited to 'src/mapgen/mapgen.h')
| -rw-r--r-- | src/mapgen/mapgen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen/mapgen.h b/src/mapgen/mapgen.h index 8994fdc00..a54f1236e 100644 --- a/src/mapgen/mapgen.h +++ b/src/mapgen/mapgen.h @@ -194,7 +194,7 @@ public: s16 findLiquidSurface(v2s16 p2d, s16 ymin, s16 ymax); void updateHeightmap(v3s16 nmin, v3s16 nmax); void getSurfaces(v2s16 p2d, s16 ymin, s16 ymax, - s16 *floors, s16 *ceilings, u16 *num_floors, u16 *num_ceilings); + std::vector<s16> &floors, std::vector<s16> &ceilings); void updateLiquid(UniqueQueue<v3s16> *trans_liquid, v3s16 nmin, v3s16 nmax); |
