mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Decoration: Add support for zero probability, fix breakage from last commit
This commit is contained in:
parent
130464c268
commit
309c5f3641
4 changed files with 35 additions and 15 deletions
|
@ -271,7 +271,7 @@ public:
|
|||
|
||||
bool getSchematicFromMap(Map *map, v3s16 p1, v3s16 p2);
|
||||
void placeStructure(Map *map, v3s16 p);
|
||||
void applyProbabilities(std::vector<std::pair<v3s16, u8> > *plist, v3s16 p0);
|
||||
void applyProbabilities(std::vector<std::pair<v3s16, s16> > *plist, v3s16 p0);
|
||||
};
|
||||
|
||||
void build_nnlist_and_update_ids(MapNode *nodes, u32 nodecount,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue