Fix ancient subroom location bug

Randomly placed subrooms were never generated touching
the right or bottom walls of the parent room.

This bug has been present since at least 3.1.0
This commit is contained in:
Pasi Kallinen
2023-01-23 19:41:29 +02:00
parent ae6bb2420b
commit 83eaa85dd8
3 changed files with 4 additions and 3 deletions

View File

@@ -197,7 +197,6 @@ themerooms = {
end,
-- Room in a room
-- FIXME: subroom location is too often left/top?
function()
des.room({ type = "ordinary", filled = 1,
contents = function()