diff options
author | kwolekr <kwolekr@minetest.net> | 2013-06-22 20:48:19 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-06-22 20:49:01 -0400 |
commit | 309c5f3641dccaf1260953f098ccd593396dee64 (patch) | |
tree | 575c12c6956a4e9c0b375972e6cadc65547f9b5e /src/mapgen.h | |
parent | 130464c2688fc2c9cd39d16568c12f17c105cb89 (diff) | |
download | minetest-309c5f3641dccaf1260953f098ccd593396dee64.tar.gz minetest-309c5f3641dccaf1260953f098ccd593396dee64.tar.bz2 minetest-309c5f3641dccaf1260953f098ccd593396dee64.zip |
Decoration: Add support for zero probability, fix breakage from last commit
Diffstat (limited to 'src/mapgen.h')
-rw-r--r-- | src/mapgen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen.h b/src/mapgen.h index b2fbe7429..0090b0eda 100644 --- a/src/mapgen.h +++ b/src/mapgen.h @@ -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, |