mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Fixed typo in random dungeon code
This commit is contained in:
@@ -116,8 +116,8 @@ module RandomDungeonGenerator
|
|||||||
|
|
||||||
# Makes all tiles in a particular area corridor tiles.
|
# Makes all tiles in a particular area corridor tiles.
|
||||||
def paint_corridor(tile, x, y, width, height)
|
def paint_corridor(tile, x, y, width, height)
|
||||||
timesheight.times do |j|
|
height.times do |j|
|
||||||
timeswidth.times do |i|
|
width.times do |i|
|
||||||
tile[((y + j) * CELL_WIDTH) + (x + i)] = DungeonTile::CORRIDOR
|
tile[((y + j) * CELL_WIDTH) + (x + i)] = DungeonTile::CORRIDOR
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user