Allow for no-ammo muzzles
This commit is contained in:
@@ -106,7 +106,7 @@ roomPillars :: RandomGen g => Float -> Float -> Float -> Int -> Int -> State g R
|
||||
roomPillars pillarsize w h wn hn = do
|
||||
let rm = roomRect w h wn hn
|
||||
npillars = length $ filter rpIsOffPath $ _rmPos rm
|
||||
let plmnts =
|
||||
plmnts =
|
||||
replicate
|
||||
npillars
|
||||
( blockPillar (0.5 * pilw) (0.5 * pilh) & plSpot
|
||||
|
||||
Reference in New Issue
Block a user