Allow for random choice between placements in different rooms
This commit is contained in:
@@ -73,7 +73,7 @@ placeLineBlock
|
||||
-> GenWorld
|
||||
-> (Int, GenWorld)
|
||||
placeLineBlock basePane bm blockWidth depth a b gw = ( 0
|
||||
, gw & gWorld .~ (removePathsCrossing a b $ foldr insertWall (insertBlocks w) listWalls)
|
||||
, gw & gWorld .~ removePathsCrossing a b (foldr insertWall (insertBlocks w) listWalls)
|
||||
)
|
||||
where
|
||||
w = _gWorld gw
|
||||
|
||||
Reference in New Issue
Block a user