mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Migrate to STL containers/algorithms.
This commit is contained in:
@@ -1422,8 +1422,8 @@ void MapgenV6::makeChunk(BlockMakeData *data)
|
||||
{
|
||||
enum LightBank bank = banks[i];
|
||||
|
||||
core::map<v3s16, bool> light_sources;
|
||||
core::map<v3s16, u8> unlight_from;
|
||||
std::set<v3s16> light_sources;
|
||||
std::map<v3s16, u8> unlight_from;
|
||||
|
||||
voxalgo::clearLightAndCollectSources(vmanip, a, bank, ndef,
|
||||
light_sources, unlight_from);
|
||||
|
Reference in New Issue
Block a user