Commit on return after gap

This commit is contained in:
2025-03-27 18:22:57 +00:00
parent 4932952ed4
commit 836a3d9dd3
7 changed files with 80 additions and 39 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ invSelectionItem w indent loc =
-- space leak
itemDisplay :: World -> Creature -> ComposedItem -> [String]
itemDisplay w cr ci = -- f
(basicItemDisplay itm)
basicItemDisplay itm
-- (itemNumberDisplay w cr ci)
`g` anyextra
where
@@ -104,7 +104,7 @@ itemExternalValue itm w cr
| otherwise = mempty
ugateCalc :: Int -> Int -> Int
ugateCalc x y = (x `div` ((2::Int) ^ ((f y) ::Int))::Int) `mod` 2
ugateCalc x y = (x `div` ((2::Int) ^ (f y ::Int))::Int) `mod` 2
where
f i | i > 0 = 1
| otherwise = 0